OudsTag.icon constructor

const OudsTag.icon({
  1. Key? key,
  2. required String label,
  3. bool enabled = true,
  4. required OudsIconStatus? status,
  5. OudsTagAppearance appearance = OudsTagAppearance.emphasized,
  6. OudsTagSize? size = OudsTagSize.defaultSize,
  7. OudsTagLayout layout = OudsTagLayout.textAndIcon,
  8. bool loading = false,
  9. bool roundedCorners = true,
})

Implementation

const OudsTag.icon(
    {super.key,
      required this.label,
      this.enabled = true,
      required this.status,
      this.appearance = OudsTagAppearance.emphasized,
      this.size = OudsTagSize.defaultSize,
      this.layout = OudsTagLayout.textAndIcon,
      this.loading = false,
      this.roundedCorners = true,
    }) :  icon = null,
      _deprecatedStatus = null;