有着上次对 Flutter 的认识,于是我马不停蹄的着手开发了一个基于 Flutter 的 App,一开始真的是很难,Flutter 对于我来说简直就是未知的领域。
所做的工作
界面展示
![主页面](https://upload-images.jianshu.io/upload_images/14105949-4280dfe1e74f4404.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
主界面含有一个 Drawer 实现设置页面(SetPage)和关于界面(AboutPage)的跳转
![drawer](https://upload-images.jianshu.io/upload_images/14105949-a874283a86dc93b8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
![关于](https://upload-images.jianshu.io/upload_images/14105949-0508f82c0116b63f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
图片的引入
pubspec.yaml这个文件中 assets 部分进行声明,再在类中调用即可。
注意,调用本地图片用 ExactAssetImage 函数。
页面跳转
页面路由 Navigator
的使用
遇到的问题
第一天开发认识了关于 Text 的属性,对于 Row 和 Column 的 chi