MainContainerComponentOptions constructor
- required Color backgroundColor,
- required List<
Widget> children, - double containerWidthFraction = 1.0,
- double containerHeightFraction = 1.0,
- double marginLeft = 0.0,
- double marginRight = 0.0,
- double marginTop = 0.0,
- double marginBottom = 0.0,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- Decoration? decoration,
- AlignmentGeometry? alignment,
- Clip? clipBehavior,
Constructs a MainContainerComponentOptions object.
Implementation
const MainContainerComponentOptions({
required this.backgroundColor,
required this.children,
this.containerWidthFraction = 1.0,
this.containerHeightFraction = 1.0,
this.marginLeft = 0.0,
this.marginRight = 0.0,
this.marginTop = 0.0,
this.marginBottom = 0.0,
this.margin,
this.padding,
this.decoration,
this.alignment,
this.clipBehavior,
});