![](https://img-blog.csdnimg.cn/direct/9d3c362f1fe94043a086c12df7d9880f.jpeg?x-oss-process=image/resize,m_fixed,h_224,w_224)
Flutter
Flutter是谷歌的移动UI框架,可以快速在iOS和Android上构建高质量的原生用户界面。 Flutter可以与现有的代码一起工作。在全世界,Flutter正在被越来越多的开发者和组织使用,并且Flutter是完全免费、开源的。
来深圳
在校大学生
展开
-
Flutter卡在 Installing build\app\outputs\flutter-apk\app.apk
Launching lib/main.dart on POCO F1 in debug mode…Initializing gradle… 1.5sResolving dependencies… 9.2sGradle task ‘assembleDebug’… 22.9sB.转载 2021-11-20 22:06:56 · 2122 阅读 · 0 评论 -
Flutter base64与图片
什么是Base64廖雪峰的博客图片转base64ImagePicker.pickImage(source: ImageSource.gallery).then((value)async{ List bytes =await value.readAsBytes(); String bs64 = base64Encode(bytes); String bs64Image ="data:image/png;base64,"+bs64; print(bs64Image);});base.原创 2021-05-05 10:02:54 · 814 阅读 · 0 评论 -
Dart ?? ?.
??左边如果为空返回右边的值,否则不处理。A??B如果 A 等于 null,那么 A??B 为 B如果 A 不等于 null,那么 A??B 为 A.?左边如果为空返回 null,否则返回右边的值。A?.B如果 A 等于 null,那么 A?.B 为 null如果 A 不等于 null,那么 A?.B 等价于 A.B...原创 2021-04-13 20:18:38 · 1215 阅读 · 0 评论 -
Dart 之where方法
Iterable where ( bool test( E element ) )返回lazy Iterablemain(List<String> args) { List<int> list = [8, 12, 4, 1, 17, 33, 10]; Iterable<int> res = list.where((e) { print("invoke"); return e > 10; }); var list1 = res..原创 2021-03-24 18:30:48 · 1830 阅读 · 0 评论 -
Flutter Align/Center
flutter里的Center是Align的子类class Center extends Align {const Center({ Key key, double widthFactor, double heightFactor, Widget child }): super(key: key, widthFactor: widthFactor, heightFactor: heightFactor, child: child);}Alignconst Align({Key key,原创 2021-02-24 22:55:41 · 100 阅读 · 0 评论