Badge constructor
const
Badge(})
Badge API.
Implementation
const Badge(
this.label, {
this.tone = BadgeTone.info,
this.backgroundColor,
this.foregroundColor,
this.fontSize = 8,
this.padding = const EdgeInsets.symmetric(horizontal: 8, vertical: 3),
});