SelectSingleCard constructor

SelectSingleCard(
  1. BuildContext context, {
  2. required String title,
  3. required Function onTap,
  4. String? id,
  5. String? content,
  6. ImageSourceType? imageSourceType,
  7. String? image,
  8. double radius = 10,
  9. Color contentTextColor = const Color(0xff003087),
  10. Color titleTextColor = const Color(0xff003087),
  11. Color cardBackgroundColor = const Color(0xffCCd6E7),
  12. Color cardSelectedColor = const Color(0xff003087),
  13. Duration duration = const Duration(milliseconds: 100),
  14. Key? key,
})

Implementation

SelectSingleCard(this.context,
    {required this.title,
    required this.onTap,
    this.id,
    this.content,
    this.imageSourceType,
    this.image,
    this.radius = 10,
    this.contentTextColor = const Color(0xff003087),
    this.titleTextColor = const Color(0xff003087),
    this.cardBackgroundColor = const Color(0xffCCd6E7),
    this.cardSelectedColor = const Color(0xff003087),
    this.duration = const Duration(milliseconds: 100),
    Key? key})
    : super(key: key);