上一页 1 2 3 4 5 6 ··· 26 下一页

2020年3月30日

摘要: 滑动条 const Slider({ Key key, @required this.value, //当前值 @required this.onChanged, //改变回调 this.onChangeStart, this.onChangeEnd, this.min = 0.0, this.ma 阅读全文
posted @ 2020-03-30 21:48 wjw334 阅读(1611) 评论(0) 推荐(0) 编辑

2020年3月26日

摘要: LinearProgressIndicator & CircularProgressIndicator 条形 圆形进度条 class ProgressIndicatorWidget extends StatefulWidget { ProgressIndicatorWidget({Key key}) 阅读全文
posted @ 2020-03-26 10:02 wjw334 阅读(954) 评论(0) 推荐(0) 编辑

2020年3月25日

摘要: 受限制的Box控件 const BoxConstraints({ this.minWidth = 0.0, this.maxWidth = double.infinity, this.minHeight = 0.0, this.maxHeight = double.infinity,}); clas 阅读全文
posted @ 2020-03-25 18:04 wjw334 阅读(598) 评论(0) 推荐(0) 编辑

2020年3月24日

摘要: AnimatedContainerWidget AnimatedContainer({ Key key, this.alignment, this.padding, Color color, Decoration decoration, this.foregroundDecoration, doub 阅读全文
posted @ 2020-03-24 17:58 wjw334 阅读(329) 评论(0) 推荐(0) 编辑

2020年3月23日

摘要: 占位控件color: Colors.blue, // 设置占位符颜色 defalutBlue Grey 70strokeWidth: 5, //设置画笔宽度fallbackHeight: 200, //设置占位符宽度fallbackWidth: 200, //设置占位符高度 import 'pack 阅读全文
posted @ 2020-03-23 16:19 wjw334 阅读(959) 评论(0) 推荐(0) 编辑
摘要: Clip的相关组件: ClipOval: 圆形裁剪 ClipRRect: 圆角矩形裁剪 ClipRect:矩形裁剪 ClipPath: 路径裁剪 参数: clipper:裁剪路径 CustomClipper<Path> 的实现 class ClipWidget extends StatelessWi 阅读全文
posted @ 2020-03-23 14:50 wjw334 阅读(923) 评论(0) 推荐(0) 编辑

2020年3月21日

摘要: 可折叠的控件 initiallyExpanded: true, 初始是否展开 class ExpansionTileWidget extends StatelessWidget { @override Widget build(BuildContext context) { return getLv 阅读全文
posted @ 2020-03-21 16:20 wjw334 阅读(819) 评论(0) 推荐(0) 编辑
摘要: 动画Padding 点击之后 有动画过渡 class AnimatedPaddingWidget extends StatefulWidget { @override State<StatefulWidget> createState() => AnimatedPaddingWidgetState( 阅读全文
posted @ 2020-03-21 16:17 wjw334 阅读(651) 评论(0) 推荐(0) 编辑

2020年3月18日

摘要: FadeInImage.assetNetwork({ Key key, @required String placeholder,// @required String image, AssetBundle bundle, double placeholderScale, double imageS 阅读全文
posted @ 2020-03-18 09:17 wjw334 阅读(817) 评论(0) 推荐(0) 编辑

2020年3月15日

摘要: /** * 集成自Stack,用来显示第index个child, * IndexedStack({ Key key, AlignmentGeometry alignment = AlignmentDirectional.topStart, TextDirection textDirection, S 阅读全文
posted @ 2020-03-15 15:59 wjw334 阅读(973) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 26 下一页

导航