MainContainerComponentOptions constructor

const MainContainerComponentOptions({
  1. required Color backgroundColor,
  2. required List<Widget> children,
  3. double containerWidthFraction = 1.0,
  4. double containerHeightFraction = 1.0,
  5. double marginLeft = 0.0,
  6. double marginRight = 0.0,
  7. double marginTop = 0.0,
  8. double marginBottom = 0.0,
  9. EdgeInsetsGeometry? margin,
  10. EdgeInsetsGeometry? padding,
  11. Decoration? decoration,
  12. AlignmentGeometry? alignment,
  13. 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,
});