We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
一、Flutter常用工具类库全面升级 flustars
City hisCity = SpUtil.getObj("loc_city", (v) => City.fromJson(v)); List<City> dataList = SpUtil.getObjList("loc_city_list", (v) => City.fromJson(v));
double adapterSize = ScreenUtil.getInstance().getAdapterSize(100); double adapterSize = ScreenUtil.getAdapterSizeCtx(context, 100)
await DirectoryUtil.getInstance(); String path = DirectoryUtil.getTempPath(fileName: 'demo.png', category: 'image'); String path = DirectoryUtil.getAppDocPath(fileName: 'demo.mp4', category: 'video'); String path = DirectoryUtil.getStoragePath(fileName: 'flutterwanandroid.apk', package: 'com.thl.flutterwanandroid'); Directory dir = DirectoryUtil.createTempDirSync(package: 'doc', category: 'image');
二、Flutter全局屏幕适配库 auto_size
import 'package:auto_size/auto_size.dart'; /// 默认设计稿尺寸360*640,单位dp。 void main() => runAutoSizeApp(MyApp()); void main() => runAutoSizeApp(MyApp(), width: designWidth, height: designeight);
三、基础组件库base_library,方便多个项目共用。 包含:Dart 常用工具类库 common_utils,Flutter 常用工具类库 flustars,网络 dio,国际化 fluintl,屏幕适配 auto_size。 另外附送login_demo示例!关于App启动时,未登录跳登录页,已登录进主页。
四、关于本库相关 1.登录/注册 (已开源) 2.收藏功能 (整理中) 3.网络状态页 (整理中) 项目正在整理开源中!如无法运行,请自行回滚到该节点。
git reset --hard 777f6e7fc221b30abf480c94d686c955fe661b0e
The text was updated successfully, but these errors were encountered:
你好,请问一下版本更新功能怎么做吗?有没有文章介绍?
Sorry, something went wrong.
No branches or pull requests
一、Flutter常用工具类库全面升级 flustars
二、Flutter全局屏幕适配库 auto_size
三、基础组件库base_library,方便多个项目共用。
包含:Dart 常用工具类库 common_utils,Flutter 常用工具类库 flustars,网络 dio,国际化 fluintl,屏幕适配 auto_size。
另外附送login_demo示例!关于App启动时,未登录跳登录页,已登录进主页。
四、关于本库相关
1.登录/注册 (已开源)
2.收藏功能 (整理中)
3.网络状态页 (整理中)
项目正在整理开源中!如无法运行,请自行回滚到该节点。
git reset --hard 777f6e7fc221b30abf480c94d686c955fe661b0e
The text was updated successfully, but these errors were encountered: