Container
Container({Key key, this.alignment, this.padding, Color color, Decoration decoration, this.foregroundDecoration, double width, double height, BoxConstraints constraints, this.margin, this.transform, this.child, this.clipBehavior = Clip.none, })
- key: [Key][key] 用来获取的标示
- alignment: AlignmentGeometry
- padding: EdgeInsetsGeometry
- color: Color
- decoration: Decoration
- foregroundDecoration: Decoration
- width: double
- height: double
- constraints: BoxConstraints
- margin: EdgeInsetsGeometry
- transform: Matrix4
- child: Widget
- clipBehavior: Clip 如果不是none的时候 需要设置decoration







网友评论