TagProps constructor

TagProps({
  1. required Widget? text,
  2. Widget? icon,
  3. Color bgColor = Colors.black,
})

Implementation

TagProps({
  required this.text,
  this.icon,
  this.bgColor = Colors.black,
});