BuildBadge constructor

const BuildBadge({
  1. Key? key,
  2. required Color backgroundColor,
  3. required Color textColor,
  4. required String text,
  5. bool visible = true,
  6. required Widget child,
})

Implementation

const BuildBadge({
  super.key,
  required this.backgroundColor,
  required this.textColor,
  required this.text,
  this.visible = true,
  required this.child,
});