Merge branch 'cli' of github.com:alibaba/flutter-go

This commit is contained in:
sanfan.hx
2019-07-25 12:16:14 +08:00
66 changed files with 2877 additions and 268 deletions

View File

@ -104,4 +104,15 @@ class DataUtils {
return false;
}
}
/// 获取widget列表处的树型数据
static Future<List> getWidgetTreeList() async {
var response = await NetUtils.get(Api.GET_WIDGET_TREE);
if (response['success']) {
return response['data'];
} else {
return [];
}
}
}