OudsBadge.count constructor

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

Implementation

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