label property

Widget? label

The badge's content, typically a Text widget that contains 1 to 4 characters.

If the label is null then this is a "small" badge that's displayed as a smallSize diameter filled circle. Otherwise this is a StadiumBorder shaped "large" badge with height largeSize.


final Widget? label;