WorkItemCard constructor

const WorkItemCard({
  1. Key? key,
  2. required String title,
  3. dynamic count,
  4. required String assetImage,
  5. required dynamic onTap(),
  6. double? width,
  7. double? height,
  8. Color startColor = Colors.white,
  9. Color endColor = const Color(0xFFF6FDFF),
  10. Color borderColor = Colors.white,
  11. String fontFamily = "dinFont",
})

Implementation

const WorkItemCard(
    {Key? key,
    required this.title,
    this.count,
    required this.assetImage,
    required this.onTap,
    this.width,
    this.height,
    this.startColor = Colors.white,
    this.endColor = const Color(0xFFF6FDFF),
    this.borderColor = Colors.white,
    this.fontFamily = "dinFont"})
    : super(key: key);