Flutter
文章平均质量分 61
皮皮高
这个作者很懒,什么都没留下…
展开
-
Flutter自定义布局排列:多个子View
简单例子:该例子让多个子View垂直排列 class LinearLayout extends MultiChildRenderObjectWidget { LinearLayout({ Key key, List<Widget> child }): super(key: key , children: child); @override RenderObject createRenderObject(BuildContext context) =>原创 2020-12-13 12:51:05 · 458 阅读 · 0 评论 -
Flutter自定义布局排列:单个子View
简单例子:该例子实现了子View居中对齐效果 class CenterLayout extends SingleChildRenderObjectWidget { CenterLayout({ Key key, Widget child }): super(key: key , child: child); @override RenderObject createRenderObject(BuildContext context) => RenderLayou原创 2020-12-13 12:41:06 · 271 阅读 · 0 评论 -
flutter在iOS上各种使用问题
1.pod install提示[!] No podspec found for `flutter_base` in `.symlinks/plugins/flutter_base/ios`,解决:主动创建ios文件夹,可以从其他目录复制过来,可能会提示重复,对应修改就可以了。原创 2020-12-03 11:12:46 · 2376 阅读 · 1 评论 -
Flutter:mac os10上搭建环境
环境:黑苹果系统10,xcode版本10,flutter版本1.7.8; 1.设置源: exportPUB_HOSTED_URL=https://pub.flutter-io.cn exportFLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn 打开环境变量open~/.bash_profile,将以上内容粘贴,然后更新source~/.bash_profile 2.下载flutter sdk: gitclonehttps://...原创 2020-07-14 09:32:08 · 304 阅读 · 0 评论