BadgeStyle constructor
const
BadgeStyle({
- BadgeShape shape = BadgeShape.circle,
- BorderRadius borderRadius = BorderRadius.zero,
- Color badgeColor = Colors.red,
- BorderSide borderSide = BorderSide.none,
- double elevation = 2,
- BadgeGradient? badgeGradient,
- BadgeGradient? borderGradient,
- EdgeInsetsGeometry padding = const EdgeInsets.all(5.0),
Implementation
const BadgeStyle({
this.shape = BadgeShape.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),
});