BadgeButton constructor
const
BadgeButton({
- Key? key,
- required Widget child,
- required int counter,
- EdgeInsets? margin,
- bool badgeShow = true,
- String badgeText(
- int value
- Color? badgeTextColor,
- double? badgeTextSize,
- double? badgePadding,
- double? badgeMargin,
- BadgeAlign badgeAlign = BadgeAlign.top,
- double? borderRadius,
- double? paddingSize,
- Color? badgeBackground,
- dynamic onClick()?,
- double? badgeBorderRadius,
- double? badgeWidth,
- double? badgeHeight,
Implementation
const BadgeButton({
super.key,
required this.child,
required this.counter,
this.margin,
this.badgeShow = true,
this.badgeText,
this.badgeTextColor,
this.badgeTextSize,
this.badgePadding,
this.badgeMargin,
this.badgeAlign = BadgeAlign.top,
this.borderRadius,
this.paddingSize,
this.badgeBackground,
this.onClick,
this.badgeBorderRadius,
this.badgeWidth,
this.badgeHeight,
});