Badge constructor
Create a Badge that stacks label on top of child.
If label is null then just a filled circle is displayed. Otherwise the label is displayed within a StadiumBorder shaped area.
Implementation
const Badge({
super.key,
this.backgroundColor,
this.textColor,
this.smallSize,
this.largeSize,
this.textStyle,
this.padding,
this.alignment,
this.offset,
this.label,
this.isLabelVisible = true,
this.child,
});