Badge constructor

Badge(
  1. String label, {
  2. Color? background,
  3. Color? foreground,
  4. EdgeInsets? padding,
  5. int? paddingLeft,
  6. int? paddingRight,
  7. Style? textStyle,
  8. Key? key,
})

Implementation

Badge(
  this.label, {
  this.background,
  this.foreground,
  this.padding,
  this.paddingLeft,
  this.paddingRight,
  this.textStyle,
  super.key,
});