CustomBadge.inverse constructor

const CustomBadge.inverse({
  1. Key? key,
  2. Widget? child,
  3. Widget? label,
})

Create a Badge that stacks label on top of child.

Inverse uses a grey color.

Implementation

const CustomBadge.inverse({
  super.key,
  this.child,
  this.label,
}) : color = const Color(0xFF747474);