上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 20 下一页
摘要: flutter ios 报错 [!] Error installing libwebp [!] /usr/bin/git clone https://chromium.googlesource.com/webm/libwebp /var/folders/87/73_f42316tj173wq0y6n 阅读全文
posted @ 2020-12-05 21:30 lude1994 阅读(2293) 评论(0) 推荐(0) 编辑
摘要: mac版本: 执行flutter doctor 显示cocoapods已被安装,但是不能用(not working),于是我根据安装指令安装cocoapods,但是安装错误,显示以下报错 curl: (7) Failed to connect to raw.githubusercontent.com 阅读全文
posted @ 2020-12-04 10:28 lude1994 阅读(1077) 评论(0) 推荐(0) 编辑
摘要: 被选中的tab变大 TabBar( tabs: _tab.map((f) { return Text( f, style: TextStyle(color: Colors.white), // 设置tab文字的样式,优先级最高 ); }).toList(), controller: _control 阅读全文
posted @ 2020-11-07 11:33 lude1994 阅读(4877) 评论(0) 推荐(0) 编辑
摘要: FlatButton( // FlatButton 这个按钮点击后是不出现边框的 highlightColor: Colors.transparent, // 按下时的颜色 splashColor: Colors.transparent, // 点击后的 水波纹颜色,按下松开会有水波纹效果 chil 阅读全文
posted @ 2020-10-28 16:25 lude1994 阅读(1306) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/zgcqflqinhao/article/details/85048090 可以复制后,进行更改文字 new Text.rich( //富文本文本框构造方法,可以显示多种样式的text,第一个参数为 TextSpan new TextSpan( te 阅读全文
posted @ 2020-10-27 09:57 lude1994 阅读(405) 评论(0) 推荐(0) 编辑
摘要: final double statusBarHeight = MediaQuery.of(context).padding.top; // 获取状态栏高度,用padding来占用top的距离 阅读全文
posted @ 2020-10-13 20:43 lude1994 阅读(254) 评论(0) 推荐(0) 编辑
摘要: TabBarView( controller: _controller, children: _tabValues.map((f) { return EasyRefresh( refreshFooter: ClassicsFooter( key: _footerKey, bgColor: Color 阅读全文
posted @ 2020-09-07 15:53 lude1994 阅读(799) 评论(0) 推荐(0) 编辑
摘要: Expanded( child: MediaQuery.removePadding( // 去除ListView产生的顶部空白 removeTop: true, context: context, child: EasyRefresh( // 这个包在ListView的外边,需要加载的列表 refr 阅读全文
posted @ 2020-09-07 15:52 lude1994 阅读(614) 评论(0) 推荐(0) 编辑
摘要: InkWell( onTap: () { //在onTap下写底部弹框 showModalBottomSheet( context: context, isDismissible: true, isScrollControlled: false, shape: RoundedRectangleBor 阅读全文
posted @ 2020-08-30 19:52 lude1994 阅读(1823) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/mingfeng002/p/11592228.html 解决方法: class HomePage extends StatelessWidget { @override Widget build(BuildContext context) { r 阅读全文
posted @ 2020-08-30 17:04 lude1994 阅读(238) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 20 下一页