ModulaBadge constructor
const
ModulaBadge({
- Key? key,
- BadgeShape shape = BadgeShape.pill,
- BadgeType type = BadgeType.custom,
- Color color = Colors.red,
- double? height = 3,
- String? label,
- IconData? icon,
- int? count,
- bool showBorder = false,
- Color borderColor = Colors.white,
- double borderWidth = 1.0,
- TextStyle? textStyle,
- double? width,
- EdgeInsets? padding,
Implementation
const ModulaBadge({
super.key,
this.shape = BadgeShape.pill,
this.type = BadgeType.custom,
this.color = Colors.red,
this.height = 3,
this.label,
this.icon,
this.count,
this.showBorder = false,
this.borderColor = Colors.white,
this.borderWidth = 1.0,
this.textStyle,
this.width,
this.padding,
});