SelectSingleCard constructor
SelectSingleCard(
- BuildContext context, {
- required String title,
- required Function onTap,
- String? id,
- String? content,
- ImageSourceType? imageSourceType,
- String? image,
- double radius = 10,
- Color contentTextColor = const Color(0xff003087),
- Color titleTextColor = const Color(0xff003087),
- Color cardBackgroundColor = const Color(0xffCCd6E7),
- Color cardSelectedColor = const Color(0xff003087),
- Duration duration = const Duration(milliseconds: 100),
- 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);