OudsBadge.standard constructor

const OudsBadge.standard({
  1. Key? key,
  2. OudsBadgeSize? size = OudsBadgeSize.medium,
  3. Widget? child,
  4. bool enabled = true,
  5. String? semanticsLabel,
  6. OudsIconStatus status = const Negative(),
})

Implementation

const OudsBadge.standard({
  super.key,
  this.size = OudsBadgeSize.medium,
  this.child,
  this.enabled = true,
  this.semanticsLabel,
  this.status = const Negative(),
}) : label = null,
     _withIcon = false;