Flutter用户协议声明效果源码
/// 用户协议中“低调”文本的样式。final TextStyle _lowProfileStyle = TextStyle( fontSize: Adapt.px(12), color: color999999,);/// 用户协议中“高调”文本的样式。final TextStyle _highProfileStyle = TextStyle( fontSize: Adapt.px(12), color: colorPrimary,);class UserAgreementWight extends StatelessWidget { @override Widget build(BuildContext context) { return Text.rich( TextSpan( text: '登录即同意', style: _lowProfileStyle, children: [ TextSpan( recognizer: TapGestureRecognizer()..onTap = () { Navigator.push(context, MaterialPageRoute(builder: (context) => WebViewH5Page(url:"https://www.dandroid.cn",title:"用户协议"))); }, text: '“用户协议”', style: _highProfileStyle, ), TextSpan( text: '和', style: _lowProfileStyle, ), TextSpan( recognizer: TapGestureRecognizer()..onTap = () { Navigator.push(context, MaterialPageRoute(builder: (context) => WebViewH5Page(url:"https://www.dandroid.cn",title:"隐私政策"))); }, text: '“隐私政策”', style: _highProfileStyle, ), ], ), ); }}
Flutter实现刷新效果源码
介绍:滚动组件的小部件可下拉刷新并上拉负载
源码下载:https://www.dandroid.cn/?p=6961
Flutter可拖动并在小部件内重新排序效果源码
介绍:重新排序的表,行,列,换行和条状列表,使它们的子级可拖动并在小部件内重新排序
源码下载:https://www.dandroid.cn/?p=6958
Flutter多图选择效果源码
介绍:九宫格多张图片选择器,图片可拖拉拽,拖拉拽可调顺序
源码下载:https://www.dandroid.cn/?p=6969
Flutter 蓝牙热敏打印机效果源码
介绍:可帮助开发人员为iOS和Android构建蓝牙热敏打印机应用程序
源码下载:https://www.dandroid.cn/?p=6973
Flutter红点数量效果源码
介绍:将通知徽章添加到底部导航栏项数量 红点数量
源码下载:https://www.dandroid.cn/?p=6976
更多高质量源码尽在www.dandroid.cn 到桌源码网