TagButton constructor

const TagButton({
  1. Key? key,
  2. required String text,
  3. required dynamic onPressed(),
  4. Color? backgroundColor,
  5. ButtonStyle? buttonStyle,
  6. String? icon,
  7. TextStyle? textStyle,
  8. Color? textButtonColor,
})

Implementation

const TagButton({
  Key? key,
  required this.text,
  required this.onPressed,
  this.backgroundColor,
  this.buttonStyle,
  this.icon,
  this.textStyle,
  this.textButtonColor,
}) : super(key: key);