SubAspectComponentOptions constructor
const
SubAspectComponentOptions({ - required Color backgroundColor,
- required List<Widget> children,
- bool showControls = true,
- double? containerWidthFraction,
- double? containerHeightFraction,
- double defaultFractionSub = 40.0,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- AlignmentGeometry alignment = Alignment.centerLeft,
- BoxDecoration? containerDecoration,
- Clip clipBehavior = Clip.hardEdge,
- SubAspectContentBuilder? contentBuilder,
- SubAspectContainerBuilder? containerBuilder,
- 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,
});