Flutter基础widgets教程-TabBar篇

1 TabBar一个显示水平选项卡的Material Design widget。2 构造函数TabBar({ Key key, @required this.tabs, this.controller, this.isScrollable = false, this.indicatorColor,...

Flutter基础widgets教程-Switch篇

1 SwitchSwitch 是一个切换按钮组件,通常用于设置的选项里。2 构造函数const Switch({ Key key, this.activeColor, this.activeThumbImage, this.activeTrackColor, this.inactiveThumbCo...

Flutter基础widgets教程-Stepper篇

1 StepperStepper 是一个步骤条组件2 构造函数Stepper({ Key key, @required this.steps, this.physics, this.type = StepperType.vertical, this.currentStep = 0, this.onS...

Flutter基础widgets教程-SnackBar篇

1 SnackBarSnackBar 是 Flutter 提供的一种提示 Widget,附带操作(Action)功能2 构造函数SnackBar({ Key key, @required this.content, this.backgroundColor, this.elevation, this...

Flutter基础widgets教程-Slider篇

1 SliderSlider 是一个滑块组件,可用于数量的选择。2 构造函数const Switch({ Key key, @required this.value,undefined @required this.onChanged,undefined this.onChangeStart, th...

Flutter基础widgets教程-SimpleDialog篇

1 SimpleDialog简单对话框,可以显示附加的提示和操作,通常配合SimpleDialogOption一起使用。2 构造函数const SimpleDialog({ Key key, this.title, this.titlePadding = const EdgeInsets.fromL...

Flutter基础widgets教程-Row篇

1 RowRow是一个用于水平展示多个子控件的控件。row这个控件不会滚动。如果你有一行控件在空间不足的情况下可以滚动,考虑使用ListView类。 2 构造函数Row({ Key key, MainAxisAlignment mainAxisAlignment, MainAxisSize main...

Flutter基础widgets教程-RaisedButton篇

1 RaisedButtonRaisedButton组件主要用于文本布局。 2 构造函数RaisedButton({ Key key, @required VoidCallback onPressed, ValueChanged<bool> onHighlightChanged, But...

Flutter基础widgets教程-Radio篇

1 RadioRadio 单选框,允许用户从一组中选择一个选项。 2 构造函数const Radio({ Key key, this.groupValue , this.activeColor, this.value, this.onChanged })复制3 常用属性3.1 activeColor...

Flutter基础widgets教程-PopupMenuButton篇

1 PopupMenuButton当菜单隐藏式,点击或调用onSelected时显示一个弹出式菜单列表2 构造函数PopupMenuButton({ Key key, @required this.itemBuilder, this.initialValue, this.onSelected, th...

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

社区圈子

阿里巴巴终端技术
阿里巴巴终端技术
阿里巴巴终端技术最新内容汇聚在此,由阿里巴巴终端委员会官方运营。阿里巴巴终端委员会是阿里集团面向前端、客户端的虚拟技术组织。我们的愿景是着眼用户体验前沿、技术创新引领业界,将面向未来,制定技术策略和目标并落地执行,推动终端技术发展,帮助工程师成长,打造顶级的终端体验。同时我们运营着阿里巴巴终端域的官方公众号:阿里巴巴终端技术,欢迎关注。
1490+人已加入
加入
相关电子书
更多
Flutter企业级应用开发实战手册
Flutter技术解析与实战
Flutter in action
立即下载 立即下载 立即下载