摘要:
1 Card Flutter Card 组件,卡片组件具有圆角和阴影,看起来有立体感。 2 构造函数 Card({ Key key, this.color, this.shadowColor, this.elevation, ... 阅读全文
posted @ 2022-05-31 18:10
青年码农
阅读(296)
评论(0)
推荐(0)
摘要:
1 IconButton IconButton一个Material图标按钮,点击时会有水波动画。 2 构造函数 IconButton({ Key key, this.iconSize = 24.0, this.padding = co... 阅读全文
posted @ 2022-05-31 18:10
青年码农
阅读(620)
评论(0)
推荐(0)
摘要:
1 Switch Switch 是一个切换按钮组件,通常用于设置的选项里。 2 构造函数 const Switch({ Key key, this.activeColor, this.activeThumbImage, this... 阅读全文
posted @ 2022-05-31 18:10
青年码农
阅读(451)
评论(0)
推荐(0)
摘要:
1 FlutterLogo FlutterLogo是一个显示Flutter 商标的组件。 2 构造函数 FlutterLogo({ Key key, this.size, this.colors, this.textColor ... 阅读全文
posted @ 2022-05-31 18:10
青年码农
阅读(135)
评论(0)
推荐(0)
摘要:
1 Checkbox Checkbox 是一个复选框组件,通常用于设置的选项里。 2 构造函数 const Checkbox({ Key key, this.activeColor, this.tristate, this.v... 阅读全文
posted @ 2022-05-31 18:10
青年码农
阅读(325)
评论(0)
推荐(0)
摘要:
1 Radio Radio 单选框,允许用户从一组中选择一个选项。 2 构造函数 const Radio({ Key key, this.groupValue , this.activeColor, this.value, ... 阅读全文
posted @ 2022-05-31 18:10
青年码农
阅读(761)
评论(0)
推荐(0)
摘要:
1 Column Column是在垂直方向上排列子widget的列表。 2 构造函数 Column({ Key key, MainAxisAlignment mainAxisAlignment, MainAxisSize main... 阅读全文
posted @ 2022-05-31 18:10
青年码农
阅读(409)
评论(0)
推荐(0)
摘要:
Container类似于iOS中的UIView,具有绘制、定位、调整大小功能。通常用来装载其它子控件,假如Container没有子控件,它将自动填充整个屏幕;反之,会根据子控件大小,调整自身大小,从而达到自适应效果。 注意:使用Container时,通常要... 阅读全文
posted @ 2022-05-31 18:10
青年码农
阅读(491)
评论(0)
推荐(0)
摘要:
最近在写flutter入门的项目,打算把常用的widgets和插件用法总结下,方便后期查找,项目大概是这个样子。 搜索页 widgets属性页面写的时候考虑排版,但是文字居多,如果设计下排版,用widgets把样式写好,后期如果需要修改,则改动比较大,... 阅读全文
posted @ 2022-05-31 18:10
青年码农
阅读(651)
评论(0)
推荐(0)
摘要:
由于官网被墙,打包资料只能根据以往大神提供的经验摸索打包,但是在实际打包中还是会遇到各种各样的错。 下面介绍一下我成功打包的经验,像是配置查看构建配置和添加启动图标之类的就不说了,只讲打包。 1.创建Key 确认已安装java和flutter。我的java... 阅读全文
posted @ 2022-05-31 18:10
青年码农
阅读(998)
评论(0)
推荐(0)

浙公网安备 33010602011771号