- 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...
- 1 AppBar 一个典型的AppBar,带有标题、操作和溢出的下拉菜单。AppBar Material风格应用栏,有工具栏和其他的Widget构成 应用栏通常用于Scaffold.appBar属性,该属性将应用栏放置在屏幕顶部的固定高度小部件中。对于可滚动的应用栏,请参阅SliverAppBar,它将一个... 1 AppBar 一个典型的AppBar,带有标题、操作和溢出的下拉菜单。AppBar Material风格应用栏,有工具栏和其他的Widget构成 应用栏通常用于Scaffold.appBar属性,该属性将应用栏放置在屏幕顶部的固定高度小部件中。对于可滚动的应用栏,请参阅SliverAppBar,它将一个...
- 1 Row Row是一个用于水平展示多个子控件的控件。row这个控件不会滚动。如果你有一行控件在空间不足的情况下可以滚动,考虑使用ListView类。 2 构造函数 Row({ Key key, MainAxisAlignment mainAxisAlignment, ... 1 Row Row是一个用于水平展示多个子控件的控件。row这个控件不会滚动。如果你有一行控件在空间不足的情况下可以滚动,考虑使用ListView类。 2 构造函数 Row({ Key key, MainAxisAlignment mainAxisAlignment, ...
- 1 Chip 中文翻译为碎片的意思,一般也是用作商品或者一些东西的标签。 2 构造函数 Chip({ Key key, this.avatar, @required this.label, this.labelStyle, this.labelPadding,... 1 Chip 中文翻译为碎片的意思,一般也是用作商品或者一些东西的标签。 2 构造函数 Chip({ Key key, this.avatar, @required this.label, this.labelStyle, this.labelPadding,...
上滑加载中
推荐直播
-
华为云码道-玩转OpenClaw,在线养虾2026/03/11 周三 19:00-21:00
刘昱,华为云高级工程师/谈心,华为云技术专家/李海仑,上海圭卓智能科技有限公司CEO
OpenClaw 火爆开发者圈,华为云码道最新推出 Skill ——开发者只需输入一句口令,即可部署一个功能完整的「小龙虾」智能体。直播带你玩转华为云码道,玩转OpenClaw
回顾中 -
华为云码道-AI时代应用开发利器2026/03/18 周三 19:00-20:00
童得力,华为云开发者生态运营总监/姚圣伟,华为云HCDE开发者专家
本次直播由华为专家带你实战应用开发,看华为云码道(CodeArts)代码智能体如何在AI时代让你的创意应用快速落地。更有华为云HCDE开发者专家带你用码道玩转JiuwenClaw,让小艺成为你的AI助理。
回顾中 -
Skill 构建 × 智能创作:基于华为云码道的 AI 内容生产提效方案2026/03/25 周三 19:00-20:00
余伟,华为云软件研发工程师/万邵业(万少),华为云HCDE开发者专家
本次直播带来两大实战:华为云码道 Skill-Creator 手把手搭建专属知识库 Skill;如何用码道提效 OpenClaw 小说文本,打造从大纲到成稿的 AI 原创小说全链路。技术干货 + OPC创作思路,一次讲透!
回顾中
热门标签