- 1 ButtonBar ButtonBar 可以默认实现一个按钮组,通过 children 属性可以传入多个 Button。 2 构造函数 const ButtonBar({ Key key, this.alignment = MainAxisAlignment.end, ... 1 ButtonBar ButtonBar 可以默认实现一个按钮组,通过 children 属性可以传入多个 Button。 2 构造函数 const ButtonBar({ Key key, this.alignment = MainAxisAlignment.end, ...
- 1 Radio Radio 单选框,允许用户从一组中选择一个选项。 2 构造函数 const Radio({ Key key, this.groupValue , this.activeColor, this.value, this.onChang... 1 Radio Radio 单选框,允许用户从一组中选择一个选项。 2 构造函数 const Radio({ Key key, this.groupValue , this.activeColor, this.value, this.onChang...
- 1 Checkbox Checkbox 是一个复选框组件,通常用于设置的选项里。 2 构造函数 const Checkbox({ Key key, this.activeColor, this.tristate, this.value, this.... 1 Checkbox Checkbox 是一个复选框组件,通常用于设置的选项里。 2 构造函数 const Checkbox({ Key key, this.activeColor, this.tristate, this.value, this....
- 1 FloatingActionButton FloatingActionButton(FAB) 控件是一个纸墨设计中定义的 FAB 按钮。用来显示界面上的主要功能。 2 构造函数 FloatingActionButton({ Key key, this.child, t... 1 FloatingActionButton FloatingActionButton(FAB) 控件是一个纸墨设计中定义的 FAB 按钮。用来显示界面上的主要功能。 2 构造函数 FloatingActionButton({ Key key, this.child, t...
- 1 Drawer 从Scaffold边缘水平滑动以显示应用程序中导航链接的Material Design面板。 2 构造函数 Drawer({ Key key, this.elevation = 16.0, this.child, this.semanticLabe... 1 Drawer 从Scaffold边缘水平滑动以显示应用程序中导航链接的Material Design面板。 2 构造函数 Drawer({ Key key, this.elevation = 16.0, this.child, this.semanticLabe...
- 最近在写flutter入门的项目,打算把常用的widgets和插件用法总结下,方便后期查找,项目大概是这个样子。 搜索页 widgets属性页面写的时候考虑排版,但是文字居多,如果设计下排版,用widgets把样式写好,后期如果需要修改,则改动比较大,所以考虑使用markdown,毕竟也是支持的。 1.安装依赖 根... 最近在写flutter入门的项目,打算把常用的widgets和插件用法总结下,方便后期查找,项目大概是这个样子。 搜索页 widgets属性页面写的时候考虑排版,但是文字居多,如果设计下排版,用widgets把样式写好,后期如果需要修改,则改动比较大,所以考虑使用markdown,毕竟也是支持的。 1.安装依赖 根...
- 1 Center 将其子widget居中显示在自身内部的widget 2 构造函数 Center({ Key key, double widthFactor, double heightFactor, Widget child }) 3 常用属性... 1 Center 将其子widget居中显示在自身内部的widget 2 构造函数 Center({ Key key, double widthFactor, double heightFactor, Widget child }) 3 常用属性...
- 1 PopupMenuButton 当菜单隐藏式,点击或调用onSelected时显示一个弹出式菜单列表。 2 构造函数 PopupMenuButton({ Key key, @required this.itemBuilder, this.initialValue, ... 1 PopupMenuButton 当菜单隐藏式,点击或调用onSelected时显示一个弹出式菜单列表。 2 构造函数 PopupMenuButton({ Key key, @required this.itemBuilder, this.initialValue, ...
- 1 CupertinoActivityIndicator 一个iOS风格的loading指示器。显示一个圆形的转圈菊花 2 构造函数 CupertinoActivityIndicator({ Key key, this.animating = true, this.rad... 1 CupertinoActivityIndicator 一个iOS风格的loading指示器。显示一个圆形的转圈菊花 2 构造函数 CupertinoActivityIndicator({ Key key, this.animating = true, this.rad...
- 1 SizedOverflowBox SizedOverflowBox主要的布局行为有两点:1 尺寸部分。通过将自身的固定尺寸,传递给child,来达到控制child尺寸的目的;undefined 2 超出部分。可以突破父节点尺寸的限制,超出部分也可以被渲染显示,与OverflowBox类似。 2 构造函数 S... 1 SizedOverflowBox SizedOverflowBox主要的布局行为有两点:1 尺寸部分。通过将自身的固定尺寸,传递给child,来达到控制child尺寸的目的;undefined 2 超出部分。可以突破父节点尺寸的限制,超出部分也可以被渲染显示,与OverflowBox类似。 2 构造函数 S...
- 1 Switch Switch 是一个切换按钮组件,通常用于设置的选项里。 2 构造函数 const Switch({ Key key, this.activeColor, this.activeThumbImage, this.activeTrackColor, ... 1 Switch Switch 是一个切换按钮组件,通常用于设置的选项里。 2 构造函数 const Switch({ Key key, this.activeColor, this.activeThumbImage, this.activeTrackColor, ...
- 1 RaisedButton RaisedButton组件主要用于文本布局。 2 构造函数 const RaisedButton({ Key key, @required VoidCallback onPressed, ValueChanged<bool> ... 1 RaisedButton RaisedButton组件主要用于文本布局。 2 构造函数 const RaisedButton({ Key key, @required VoidCallback onPressed, ValueChanged<bool> ...
- 1 Column Column是在垂直方向上排列子widget的列表。 2 构造函数 Column({ Key key, MainAxisAlignment mainAxisAlignment, MainAxisSize mainAxisSize, CrossA... 1 Column Column是在垂直方向上排列子widget的列表。 2 构造函数 Column({ Key key, MainAxisAlignment mainAxisAlignment, MainAxisSize mainAxisSize, CrossA...
- 自从去年底接触flutter到现在,陆续在学习相关的一些基础知识,具备React经验对flutter的学习有很大帮助,官网也对ReactNative开发者有专门的说明,本文对此讨论一下。 Component (React) vs Widget (Flutter) 在React中的Component概念在Flutter中对应概念... 自从去年底接触flutter到现在,陆续在学习相关的一些基础知识,具备React经验对flutter的学习有很大帮助,官网也对ReactNative开发者有专门的说明,本文对此讨论一下。 Component (React) vs Widget (Flutter) 在React中的Component概念在Flutter中对应概念...
- 1 FlutterLogo FlutterLogo是一个显示Flutter 商标的组件。 2 构造函数 FlutterLogo({ Key key, this.size, this.colors, this.textColor = const Color(0xFF6... 1 FlutterLogo FlutterLogo是一个显示Flutter 商标的组件。 2 构造函数 FlutterLogo({ Key key, this.size, this.colors, this.textColor = const Color(0xFF6...
上滑加载中
推荐直播
-
HDC深度解读系列 - Serverless与MCP融合创新,构建AI应用全新智能中枢
2025/08/20 周三 16:30-18:00
张昆鹏 HCDG北京核心组代表
HDC2025期间,华为云展示了Serverless与MCP融合创新的解决方案,本期访谈直播,由华为云开发者专家(HCDE)兼华为云开发者社区组织HCDG北京核心组代表张鹏先生主持,华为云PaaS服务产品部 Serverless总监Ewen为大家深度解读华为云Serverless与MCP如何融合构建AI应用全新智能中枢
回顾中 -
关于RISC-V生态发展的思考
2025/09/02 周二 17:00-18:00
中国科学院计算技术研究所副所长包云岗教授
中科院包云岗老师将在本次直播中,探讨处理器生态的关键要素及其联系,分享过去几年推动RISC-V生态建设实践过程中的经验与教训。
回顾中 -
一键搞定华为云万级资源,3步轻松管理企业成本
2025/09/09 周二 15:00-16:00
阿言 华为云交易产品经理
本直播重点介绍如何一键续费万级资源,3步轻松管理成本,帮助提升日常管理效率!
回顾中
热门标签