Container

2020-08-05  本文已影响0人  不二客

Container

一个方便的小部件,它结合了常见的绘制、定位和大小调整小部件。

Container({
    Key key, //
    this.alignment,//child 位置
    this.padding, //周围边距
    this.color,// 背景颜色
    this.decoration, //
    this.foregroundDecoration,
    double width,//宽度
    double height,//高度
    BoxConstraints constraints,/ /[RenderBox]布局的不可变布局约束。
    this.margin,//边距
    this.transform,
    this.child,
    this.clipBehavior = Clip.none, //
  }) 
上一篇 下一篇

猜你喜欢

热点阅读