CustomCard constructor

const CustomCard({
  1. Key? key,
  2. required int index,
  3. required Widget iconLeft,
  4. Widget? iconRight,
  5. Widget? subWidget,
  6. required String title,
  7. String? subTitle,
  8. Color? colorLeft,
  9. Color? colorRight,
  10. Color? colorCenter,
  11. void onTap()?,
  12. void onMoreTap()?,
})

Implementation

const CustomCard({
  Key? key,
  required this.index,
  required this.iconLeft,
  this.iconRight,
  this.subWidget,
  required this.title,
  this.subTitle,
  this.colorLeft,
  this.colorRight,
  this.colorCenter,
  this.onTap,
  this.onMoreTap,
}) : super(key: key);