NeoPanel constructor

const NeoPanel({
  1. Key? key,
  2. required Widget child,
  3. Color? color,
  4. Color? shadowColor,
  5. EdgeInsetsGeometry padding = const EdgeInsets.all(24),
  6. double radius = NeoTokens.radiusLarge,
  7. Offset offset = NeoTokens.shadowOffset,
  8. double? width,
})

Implementation

const NeoPanel({
  super.key,
  required this.child,
  this.color,
  this.shadowColor,
  this.padding = const EdgeInsets.all(24),
  this.radius = NeoTokens.radiusLarge,
  this.offset = NeoTokens.shadowOffset,
  this.width,
});