Badge constructor

Badge({
  1. required Widget child,
  2. required String value,
  3. Color? color,
  4. required double top,
  5. required double right,
})

Implementation

Badge(
    {required this.child,
    required this.value,
    this.color,
    required this.top,
    required this.right});