摘要:
转载于https://www.jianshu.com/p/6346770649cc Switch 是一个切换按钮组件,通常用于设置的选项里。Switch 的原点颜色,横条颜色都可以设置,此外原点可以以图片形式显示。 new Switch( value: this.check, activeColor 阅读全文
摘要:
限制尺寸 1.constrainedbox(constrains :一个boxconstrains,child) 其中boxconstraints的属性有minwidth/minheight/maxwidth/maxheight等 2.sizedbox(width, height, child) 阅读全文