NiceCard constructor

const NiceCard({
  1. Key? key,
  2. required Widget child,
  3. String? title,
  4. String? subtitle,
  5. List<Widget>? headerActions,
  6. Widget? footer,
  7. double elevation = 1,
  8. EdgeInsets? padding,
  9. VoidCallback? onTap,
  10. IconData? headerIcon,
  11. Color? color,
})

Implementation

const NiceCard({
  super.key,
  required this.child,
  this.title,
  this.subtitle,
  this.headerActions,
  this.footer,
  this.elevation = 1,
  this.padding,
  this.onTap,
  this.headerIcon,
  this.color,
});