TBadgeStyle constructor
const
TBadgeStyle({
- TBadgeShape shape = TBadgeShape.circle,
- BorderRadius borderRadius = BorderRadius.zero,
- Color badgeColor = Colors.red,
- BorderSide borderSide = BorderSide.none,
- double elevation = 2,
- TBadgeGradient? badgeGradient,
- TBadgeGradient? borderGradient,
- EdgeInsetsGeometry padding = const EdgeInsets.all(5.0),
Implementation
const TBadgeStyle({
this.shape = TBadgeShape.circle,
this.borderRadius = BorderRadius.zero,
this.badgeColor = Colors.red,
this.borderSide = BorderSide.none,
this.elevation = 2,
this.badgeGradient,
this.borderGradient,
this.padding = const EdgeInsets.all(5.0),
});