ArcaneBox.card constructor

const ArcaneBox.card({
  1. Widget? child,
  2. List<Widget>? children,
  3. PaddingPreset? padding = PaddingPreset.lg,
  4. MarginPreset? margin,
  5. Shadow? shadow = Shadow.md,
  6. Size? width,
  7. Size? height,
  8. String? widthCustom,
  9. String? heightCustom,
  10. MaxWidth? maxWidth,
  11. Overflow? overflow,
  12. ArcaneStyleData? style,
  13. Key? key,
})

Implementation

const ArcaneBox.card({
  this.child,
  this.children,
  this.padding = PaddingPreset.lg,
  this.margin,
  this.shadow = Shadow.md,
  this.width,
  this.height,
  this.widthCustom,
  this.heightCustom,
  this.maxWidth,
  this.overflow,
  this.style,
  super.key,
})  : background = Background.card,
      border = BorderPreset.subtle,
      borderRadius = Radius.lg;