ArcaneBox constructor

const ArcaneBox({
  1. Widget? child,
  2. List<Widget>? children,
  3. PaddingPreset? padding,
  4. MarginPreset? margin,
  5. Background? background,
  6. BorderPreset? border,
  7. Radius? borderRadius,
  8. Shadow? shadow,
  9. Size? width,
  10. Size? height,
  11. String? widthCustom,
  12. String? heightCustom,
  13. MaxWidth? maxWidth,
  14. Overflow? overflow,
  15. ArcaneStyleData? style,
  16. 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');