GTFBadge constructor
const
GTFBadge({
- Key? key,
- int badgeNumber = 0,
- int maxNumber = 99,
- bool showRedDot = false,
- double badgeHeight = 18,
- double redDotHeight = 12,
- Color badgeColor = GTFColor.red,
- Color badgeTextColor = GTFColor.white,
- double badgeTextFontSize = 12,
- double badgeBorderWidth = 1,
- GTFBadgePosition? badgePosition,
- GTFBadgeMaxStyle badgeMaxStyle = GTFBadgeMaxStyle.number,
- 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);