MainAspectComponentOptions constructor

const MainAspectComponentOptions(
  1. {required Color backgroundColor,
  2. required List<Widget> children,
  3. bool showControls = true,
  4. double containerWidthFraction = 1.0,
  5. double containerHeightFraction = 1.0,
  6. double defaultFraction = 0.94,
  7. required dynamic updateIsWideScreen(
    1. bool
    ),
  8. required dynamic updateIsMediumScreen(
    1. bool
    ),
  9. required dynamic updateIsSmallScreen(
    1. bool
    )}
)

Constructs a MainAspectComponentOptions object.

Implementation

const MainAspectComponentOptions({
  required this.backgroundColor,
  required this.children,
  this.showControls = true,
  this.containerWidthFraction = 1.0,
  this.containerHeightFraction = 1.0,
  this.defaultFraction = 0.94,
  required this.updateIsWideScreen,
  required this.updateIsMediumScreen,
  required this.updateIsSmallScreen,
});