OudsTag.text constructor

const OudsTag.text({
  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.textOnly,
  8. bool loading = false,
  9. bool roundedCorners = true,
})

Implementation

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