Flutter的热加载不是万能的,引入新框架后最好重新打包一下
一 下拉刷新/上拉加载更多
https://github.com/xuelongqy/flutter_easyrefresh
二 轮播图
https://github.com/best-flutter/flutter_swiper
三 Sliver系列控件的使用
https://www.jianshu.com/p/ca79eb54a356
四 展示大图
photo_view: ^0.4.2
https://22v.net/article/3246/
五 A Flutter UI Kit. 一个Flutter UI组件库。
https://github.com/flutterchina/flukit
六 Flutter工具集合,目前包含SharedPreferences Util, Screen Util, Directory Util, Widget Util, Image Util
flustars: ^0.3.2
https://pub.flutter-io.cn/packages/flustars
七 Flutter配置开发环境 dev qa等等
第一篇写的很简单易懂:
https://segmentfault.com/a/1190000016391295
https://www.jianshu.com/p/b9e7c00075e1?from=timeline&isappinstalled=0
八 Flutter修改SDK位置后报错
原本flutter升级过程中由于断网升级失败,升级失败后,原本的运行项目时各种报错,但是又解决不了。无奈重新下载SDK压缩包,解压配置环境变量,然后遇到了一系列新问题:https://www.jianshu.com/p/a591d4b6240e
九 Fluttre屏幕适配方案
中文github文档说明:
https://github.com/OpenFlutter/flutter_screenutil/blob/master/README_CN.md
pub_dev地址:
https://pub.flutter-io.cn/packages/flutter_screenutil
十 Fluttre本地数据库sqflite
pub.dev地址:
https://pub.flutter-io.cn/packages/sqflite
一个简单的封装:
https://www.jianshu.com/p/3995ca566d9b
十一 Fluttre加载不同分辨率图片
https://www.jianshu.com/p/7b072de6bdfc
ldpi 0.75x
mdpi 1.0x
hdpi 1.5x
xhdpi 2.0x
xxhdpi 3.0x
xxxhdpi 4.0x
网友评论