GFBadge constructor
const
GFBadge({
- Key? key,
- TextStyle? textStyle,
- ShapeBorder? borderShape,
- GFBadgeShape shape = GFBadgeShape.standard,
- Color color = GFColors.DANGER,
- Color textColor = GFColors.WHITE,
- double size = GFSize.SMALL,
- BorderSide? border,
- String? text,
- Widget? child,
Create badges of all types, check out GFButtonBadge for button badges and GFIconBadge for icon type badges
Implementation
const GFBadge({
Key? key,
this.textStyle,
this.borderShape,
this.shape = GFBadgeShape.standard,
this.color = GFColors.DANGER,
this.textColor = GFColors.WHITE,
this.size = GFSize.SMALL,
this.border,
this.text,
this.child,
}) : super(key: key);