摘要: ios 简单命令 flutter clean rm -rf ios/Flutter/App.framework 先在项目目录下运行 flutter build ios --release 再到xcode下进行打包 如果不进行build命令,则在xcode下会报错: flutter Could not 阅读全文
posted @ 2020-04-15 22:17 sundayswift 阅读(906) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/6801ecbee03d /** * const RepaintBoundary({ Key key, Widget child }) */ //import 'dart:io'; //import 'dart:typed_data'; //imp 阅读全文
posted @ 2020-04-15 17:33 sundayswift 阅读(3039) 评论(0) 推荐(0) 编辑
摘要: ///枚举类型转string String enumToString(o) => o.toString().split('.').last; ///string转枚举类型 T enumFromString<T>(Iterable<T> values, String value) { return v 阅读全文
posted @ 2020-04-15 12:58 sundayswift 阅读(4509) 评论(0) 推荐(0) 编辑
摘要: http://www.ptbird.cn/Flutter-listview-builder-listview-separated.html 一、介绍 二、ListView.builder() 渲染长列表数据 1、ListView.builder 的参数 itemCount 2、ListView.bu 阅读全文
posted @ 2020-04-15 12:37 sundayswift 阅读(3824) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/0c6417a10ec0 正常情况下使用方式: InkWell( onTap: () { }, child: Container( height: 50, child: Text( "是速度", maxLines: 1, style: TextSt 阅读全文
posted @ 2020-04-15 11:44 sundayswift 阅读(2005) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/cpcpcp123/article/details/97660036 在使用官方的showModalBottomSheet这个组件时到目前为止遇到了三个比较坑的地方: 1. 无法直接设置圆角; 2. 组件最多只能撑满半屏幕,再多就出界了; 3. 在这个组件 阅读全文
posted @ 2020-04-15 10:03 sundayswift 阅读(2833) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u013894711/article/details/100729879 在上一篇我们已经讲了Flutter Navigation的基本使用,有兴趣或者对这一块还不太了解的同学可以去看看。在实际项目中我们可能会遇到一些比较特殊或者复杂的需求,而基本的跳转方 阅读全文
posted @ 2020-04-15 09:05 sundayswift 阅读(1146) 评论(0) 推荐(0) 编辑
摘要: 多种银行卡 多种银行卡正则 TextInputFormatter篇 忽略特殊字符 import 'package:flutter/services.dart'; const _regExp=r"^[\u4E00-\u9FA5A-Za-z0-9_]+$"; //忽略特殊字符 class IgnoreO 阅读全文
posted @ 2020-04-15 09:01 sundayswift 阅读(3683) 评论(0) 推荐(0) 编辑
摘要: 最后发布于2019-08-23 16:16:47 阅读数 1374 收藏 展开 https://github.com/wuzhendev/flutter-cupertino-date-picker 这个插件文档一部分说的不清楚 踩坑 直接上代码 import 'package:flutter_cup 阅读全文
posted @ 2020-04-15 08:58 sundayswift 阅读(341) 评论(0) 推荐(0) 编辑