ReusableCard constructor

const ReusableCard({
  1. Key? key,
  2. required String title,
  3. String? subtitle,
  4. IconData? icon,
  5. VoidCallback? onTap,
  6. Widget? trailing,
  7. Color? background,
})

Implementation

const ReusableCard({
  super.key,
  required this.title,
  this.subtitle,
  this.icon,
  this.onTap,
  this.trailing,
  this.background,
});