Container constructor
const
Container({
- Widget? child,
- double? width,
- double? height,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- AlignmentGeometry? alignment,
- BoxDecoration? decoration,
- String? color,
- BoxConstraints? constraints,
Container API.
Implementation
const Container({
this.child,
this.width,
this.height,
this.padding,
this.margin,
this.alignment,
this.decoration,
this.color,
this.constraints,
});