ArcaneBox constructor
const
ArcaneBox({
- Widget? child,
- List<
Widget> ? children, - PaddingPreset? padding,
- MarginPreset? margin,
- Background? background,
- BorderPreset? border,
- Radius? borderRadius,
- Shadow? shadow,
- Size? width,
- Size? height,
- String? widthCustom,
- String? heightCustom,
- MaxWidth? maxWidth,
- Overflow? overflow,
- ArcaneStyleData? style,
- Key? key,
Implementation
const ArcaneBox({
this.child,
this.children,
this.padding,
this.margin,
this.background,
this.border,
this.borderRadius,
this.shadow,
this.width,
this.height,
this.widthCustom,
this.heightCustom,
this.maxWidth,
this.overflow,
this.style,
super.key,
}) : assert(child != null || children != null,
'Either child or children must be provided');