- 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...
- 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, ...
上滑加载中
推荐直播
-
基于开源鸿蒙+海思星闪开发板:嵌入式系统开发实战(Day1)
2025/03/29 周六 09:00-18:00
华为开发者布道师
本次为期两天的课程将深入讲解OpenHarmony操作系统及其与星闪技术的结合应用,涵盖WS63E星闪开发板的详细介绍、“OpenHarmony+星闪”的创新实践、实验环境搭建以及编写首个“Hello World”程序等内容,旨在帮助学员全面掌握相关技术并进行实际操作
回顾中 -
基于开源鸿蒙+海思星闪开发板:嵌入式系统开发实战(Day2)
2025/03/30 周日 09:00-12:00
华为开发者布道师
本次为期两天的课程将深入讲解OpenHarmony操作系统及其与星闪技术的结合应用,涵盖WS63E星闪开发板的详细介绍、“OpenHarmony+星闪”的创新实践、实验环境搭建以及编写首个“Hello World”程序等内容,旨在帮助学员全面掌握相关技术并进行实际操作
回顾中 -
从AI基础到昇腾:大模型初探、DeepSeek解析与昇腾入门
2025/04/02 周三 16:00-17:30
不易 / 华为云学堂技术讲师
昇腾是华为研发的AI芯片,其具有哪些能力?我们如何基于其进行开发?本期直播将从AI以及大模型基础知识开始,介绍人工智能核心概念、昇腾AI基础软硬件平台以及昇腾专区,旨在为零基础或入门级学习者搭建从AI基础知识到昇腾技术的完整学习路径。
回顾中
热门标签