CoderCard constructor

const CoderCard({
  1. Key? key,
  2. Widget? leading,
  3. required String title,
  4. String? subtitle,
  5. Widget? trailing,
  6. VoidCallback? onTap,
  7. Color? backgroundColor,
  8. EdgeInsetsGeometry padding = const EdgeInsets.all(16),
  9. double borderRadius = 12,
  10. bool showDivider = false,
  11. Color? textColor,
  12. Color? subtitleColor,
})

Creates a CoderCard with optional customization.

Implementation

const CoderCard({
  super.key,
  this.leading,
  required this.title,
  this.subtitle,
  this.trailing,
  this.onTap,
  this.backgroundColor,
  this.padding = const EdgeInsets.all(16),
  this.borderRadius = 12,
  this.showDivider = false,
  this.textColor,
  this.subtitleColor,
});