PrismBadge.dot constructor

const PrismBadge.dot({
  1. Key? key,
  2. required Widget child,
  3. PrismSemantic semantic = PrismSemantic.error,
  4. Alignment alignment = Alignment.topRight,
  5. Offset? offset,
  6. String? label,
})

Creates a small status dot with no count.

Implementation

const PrismBadge.dot({
  super.key,
  required this.child,
  this.semantic = PrismSemantic.error,
  this.alignment = Alignment.topRight,
  this.offset,
  this.label,
}) : count = 0,
     maxCount = 99,
     showZero = false,
     _isDot = true;