FilterButton constructor

const FilterButton({
  1. Key? key,
  2. required String text,
  3. Color? backgroundColor,
  4. VoidCallback? onTap,
  5. TextStyle? textStyle,
})

Implementation

const FilterButton({
  super.key,
  required this.text,
  this.backgroundColor,
  this.onTap,
  this.textStyle,
});