NeumorphicCard constructor

const NeumorphicCard({
  1. Key? key,
  2. required Widget child,
  3. required double shadowBlur,
  4. Alignment? alignment,
  5. BorderRadius? borderRadius = BorderRadius.zero,
  6. required Color backgroundColor,
  7. double? width,
  8. double? height,
  9. double offset = 5,
})

Implementation

const NeumorphicCard({
  Key? key,
  required this.child,
  required this.shadowBlur,
  this.alignment,
  this.borderRadius = BorderRadius.zero,
  required this.backgroundColor,
  this.width,
  this.height,
  this.offset = 5,
}) : super(key: key);