Container

作者: 不二客 | 来源:发表于2020-08-05 10:48 被阅读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, //
  }) 

相关文章

网友评论

      本文标题:Container

      本文链接:https://www.haomeiwen.com/subject/luhjlktx.html