KRCardShort constructor

const KRCardShort({
  1. Key? key,
  2. required String title,
  3. required String bodyText,
  4. required IconData iconData,
  5. dynamic onTap()?,
  6. int iconBackgroundColor = KRTheme.DEFAULT_TERTIARY_LIGHT_COLOR,
  7. int backgroundColor = KRTheme.DEFAULT_TERTIARY_COLOR,
})

Implementation

const KRCardShort(
    {Key? key,
    required this.title,
    required this.bodyText,
    required this.iconData,
    this.onTap,
    this.iconBackgroundColor = KRTheme.DEFAULT_TERTIARY_LIGHT_COLOR,
    this.backgroundColor = KRTheme.DEFAULT_TERTIARY_COLOR})
    : super(key: key);