KRCardBanner constructor

const KRCardBanner({
  1. Key? key,
  2. required String title,
  3. required String bodyText,
  4. Widget? tailingWidget,
  5. int lineColor = KRTheme.DEFAULT_PRIMARY_COLOR,
  6. int backgroundColor = KRTheme.DEFAULT_PRIMARY_LIGHT_COLOR,
  7. int textColor = KRTheme.DEFAULT_DARK_COLOR,
})

Implementation

const KRCardBanner({
  Key? key,
  required this.title,
  required this.bodyText,
  this.tailingWidget,
  this.lineColor = KRTheme.DEFAULT_PRIMARY_COLOR,
  this.backgroundColor = KRTheme.DEFAULT_PRIMARY_LIGHT_COLOR,
  this.textColor = KRTheme.DEFAULT_DARK_COLOR,
}) : super(key: key);