上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 21 下一页
摘要: 1 Switch Switch 是一个切换按钮组件,通常用于设置的选项里。 2 构造函数 const Switch({ Key key, this.activeColor, this.activeThumbImage, this... 阅读全文
posted @ 2022-05-31 18:10 青年码农 阅读(451) 评论(0) 推荐(0)
摘要: 1 BottomNavigationBar BottomNavigationBar即是底部导航栏控件,显示在页面底部的设计控件,用于在试图切换,底部导航栏包含多个标签、图标或者两者搭配的形式,简而言之提供了顶级视图之间的快速导航。 2 构造函数 Bott... 阅读全文
posted @ 2022-05-31 18:10 青年码农 阅读(622) 评论(0) 推荐(0)
摘要: 1 AppBar 一个典型的AppBar,带有标题、操作和溢出的下拉菜单。AppBar Material风格应用栏,有工具栏和其他的Widget构成 应用栏通常用于Scaffold.appBar属性,该属性将应用栏放置在屏幕顶部的固定高度小部件中。对于可... 阅读全文
posted @ 2022-05-31 18:10 青年码农 阅读(398) 评论(0) 推荐(0)
摘要: 1 RaisedButton RaisedButton组件主要用于文本布局。 2 构造函数 const RaisedButton({ Key key, @required VoidCallback onPressed, Value... 阅读全文
posted @ 2022-05-31 18:10 青年码农 阅读(473) 评论(0) 推荐(0)
摘要: 1 Image Image是一个用于展示图片的组件。支持 JPEG、PNG、GIF、Animated GIF、WebP、Animated WebP、BMP 和 WBMP 等格式。 2 构造方法 Image:通过ImageProvider来加载图片 Ima... 阅读全文
posted @ 2022-05-31 18:10 青年码农 阅读(379) 评论(0) 推荐(0)
摘要: 1 Row Row是一个用于水平展示多个子控件的控件。row这个控件不会滚动。如果你有一行控件在空间不足的情况下可以滚动,考虑使用ListView类。 2 构造函数 Row({ Key key, MainAxisAlignment mai... 阅读全文
posted @ 2022-05-31 18:10 青年码农 阅读(785) 评论(0) 推荐(0)
摘要: 1 FlutterLogo FlutterLogo是一个显示Flutter 商标的组件。 2 构造函数 FlutterLogo({ Key key, this.size, this.colors, this.textColor ... 阅读全文
posted @ 2022-05-31 18:10 青年码农 阅读(135) 评论(0) 推荐(0)
摘要: 1 Checkbox Checkbox 是一个复选框组件,通常用于设置的选项里。 2 构造函数 const Checkbox({ Key key, this.activeColor, this.tristate, this.v... 阅读全文
posted @ 2022-05-31 18:10 青年码农 阅读(324) 评论(0) 推荐(0)
摘要: 1 Radio Radio 单选框,允许用户从一组中选择一个选项。 2 构造函数 const Radio({ Key key, this.groupValue , this.activeColor, this.value, ... 阅读全文
posted @ 2022-05-31 18:10 青年码农 阅读(761) 评论(0) 推荐(0)
摘要: 1 PopupMenuButton 当菜单隐藏式,点击或调用onSelected时显示一个弹出式菜单列表。 2 构造函数 PopupMenuButton({ Key key, @required this.itemBuilder, t... 阅读全文
posted @ 2022-05-31 18:10 青年码农 阅读(611) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 21 下一页