GTFBadge constructor

const GTFBadge({
  1. Key? key,
  2. int badgeNumber = 0,
  3. int maxNumber = 99,
  4. bool showRedDot = false,
  5. double badgeHeight = 18,
  6. double redDotHeight = 12,
  7. Color badgeColor = GTFColor.red,
  8. Color badgeTextColor = GTFColor.white,
  9. double badgeTextFontSize = 12,
  10. double badgeBorderWidth = 1,
  11. GTFBadgePosition? badgePosition,
  12. GTFBadgeMaxStyle badgeMaxStyle = GTFBadgeMaxStyle.number,
  13. required Widget child,
})

Implementation

const GTFBadge({
  Key? key,
  this.badgeNumber = 0,
  this.maxNumber = 99,
  this.showRedDot = false,
  this.badgeHeight = 18,
  this.redDotHeight = 12,
  this.badgeColor = GTFColor.red,
  this.badgeTextColor = GTFColor.white,
  this.badgeTextFontSize = 12,
  this.badgeBorderWidth = 1,
  this.badgePosition,
  this.badgeMaxStyle = GTFBadgeMaxStyle.number,
  required this.child,
}) : super(key: key);