- 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...
- 点击上方蓝字关注我们 在Flutter大浪潮下,笔者也开始入坑了,本系列旨在记录学习过程,欢迎一起探讨。当使用flutter create myapp 创建项目后,会自动生成初始化代码。 下面介绍一下代码的目录。 myapp ┬ ├ android - 包含 Android 特... 点击上方蓝字关注我们 在Flutter大浪潮下,笔者也开始入坑了,本系列旨在记录学习过程,欢迎一起探讨。当使用flutter create myapp 创建项目后,会自动生成初始化代码。 下面介绍一下代码的目录。 myapp ┬ ├ android - 包含 Android 特...
- 1 Image Image是一个用于展示图片的组件。支持 JPEG、PNG、GIF、Animated GIF、WebP、Animated WebP、BMP 和 WBMP 等格式。 2 构造方法 Image:通过ImageProvider来加载图片 Image.asset:用来加载本地资源图片 Ima... 1 Image Image是一个用于展示图片的组件。支持 JPEG、PNG、GIF、Animated GIF、WebP、Animated WebP、BMP 和 WBMP 等格式。 2 构造方法 Image:通过ImageProvider来加载图片 Image.asset:用来加载本地资源图片 Ima...
- 1 CupertinoAlertDialog iOS风格的alert dialog。 2 构造函数 CupertinoAlertDialog({ Key key, this.title, this.content, this.actions = const <... 1 CupertinoAlertDialog iOS风格的alert dialog。 2 构造函数 CupertinoAlertDialog({ Key key, this.title, this.content, this.actions = const <...
- 1 IconButton IconButton一个Material图标按钮,点击时会有水波动画。 2 构造函数 IconButton({ Key key, this.iconSize = 24.0, this.padding = const EdgeInsets.all(... 1 IconButton IconButton一个Material图标按钮,点击时会有水波动画。 2 构造函数 IconButton({ Key key, this.iconSize = 24.0, this.padding = const EdgeInsets.all(...
- 1 Icon Icon是图标控件,Icon不具有交互属性。 2 构造函数 Icon( Key key, this.size, this.color, this.semanticLabel, this.textDirection,) 3 常用属性&nbs... 1 Icon Icon是图标控件,Icon不具有交互属性。 2 构造函数 Icon( Key key, this.size, this.color, this.semanticLabel, this.textDirection,) 3 常用属性&nbs...
- 1 Card Flutter Card 组件,卡片组件具有圆角和阴影,看起来有立体感。 2 构造函数 Card({ Key key, this.color, this.shadowColor, this.elevation, this.shape, th... 1 Card Flutter Card 组件,卡片组件具有圆角和阴影,看起来有立体感。 2 构造函数 Card({ Key key, this.color, this.shadowColor, this.elevation, this.shape, th...
上滑加载中
推荐直播
-
Skill 构建 × 智能创作:基于华为云码道的 AI 内容生产提效方案2026/03/25 周三 19:00-20:00
余伟,华为云软件研发工程师/万邵业(万少),华为云HCDE开发者专家
本次直播带来两大实战:华为云码道 Skill-Creator 手把手搭建专属知识库 Skill;如何用码道提效 OpenClaw 小说文本,打造从大纲到成稿的 AI 原创小说全链路。技术干货 + OPC创作思路,一次讲透!
回顾中 -
码道新技能,AI 新生产力——从自动视频生成到开源项目解析2026/04/08 周三 19:00-21:00
童得力-华为云开发者生态运营总监/何文强-无人机企业AI提效负责人
本次华为云码道 Skill 实战活动,聚焦两大 AI 开发场景:通过实战教学,带你打造 AI 编程自动生成视频 Skill,并实现对 GitHub 热门开源项目的智能知识抽取,手把手掌握 Skill 开发全流程,用 AI 提升研发效率与内容生产力。
回顾中 -
华为云码道:零代码股票智能决策平台全功能实战2026/04/18 周六 10:00-12:00
秦拳德-中软国际教育卓越研究院研究员、华为云金牌讲师、云原生技术专家
利用Tushare接口获取实时行情数据,采用Transformer算法进行时序预测与涨跌分析,并集成DeepSeek API提供智能解读。同时,项目深度结合华为云CodeArts(码道)的代码智能体能力,实现代码一键推送至云端代码仓库,建立起高效、可协作的团队开发新范式。开发者可快速上手,从零打造功能完整的个股筛选、智能分析与风险管控产品。
回顾中
热门标签