OudsTag constructor

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

Implementation

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