SubAspectComponentOptions constructor

const SubAspectComponentOptions({
  1. required Color backgroundColor,
  2. required List<Widget> children,
  3. bool showControls = true,
  4. double? containerWidthFraction,
  5. double? containerHeightFraction,
  6. double defaultFractionSub = 40.0,
  7. EdgeInsetsGeometry? padding,
  8. EdgeInsetsGeometry? margin,
  9. AlignmentGeometry alignment = Alignment.centerLeft,
  10. BoxDecoration? containerDecoration,
  11. Clip clipBehavior = Clip.hardEdge,
  12. SubAspectContentBuilder? contentBuilder,
  13. SubAspectContainerBuilder? containerBuilder,
  14. SubAspectWrapperBuilder? wrapperBuilder,
})

Implementation

const SubAspectComponentOptions({
  required this.backgroundColor,
  required this.children,
  this.showControls = true,
  this.containerWidthFraction,
  this.containerHeightFraction,
  this.defaultFractionSub = 40.0,
  this.padding,
  this.margin,
  this.alignment = Alignment.centerLeft,
  this.containerDecoration,
  this.clipBehavior = Clip.hardEdge,
  this.contentBuilder,
  this.containerBuilder,
  this.wrapperBuilder,
});