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