TBadge constructor
const
TBadge({
- Key? key,
- Widget? badgeContent,
- Widget? child,
- TBadgeStyle badgeStyle = const TBadgeStyle(),
- TBadgeAnimation badgeAnimation = const TBadgeAnimation.slide(),
- TBadgePosition? position,
- bool showBadge = true,
- bool ignorePointer = false,
- StackFit stackFit = StackFit.loose,
- dynamic onTap()?,
Implementation
const TBadge({
super.key,
this.badgeContent,
this.child,
this.badgeStyle = const TBadgeStyle(),
this.badgeAnimation = const TBadgeAnimation.slide(),
this.position,
this.showBadge = true,
this.ignorePointer = false,
this.stackFit = StackFit.loose,
this.onTap,
});