ButtonGroupItem constructor

const ButtonGroupItem({
  1. Key? key,
  2. required String label,
  3. IconData? icon,
  4. IconData? selectIcon,
  5. required bool isSelected,
  6. required bool withIcon,
  7. double padding = 20,
  8. required TextStyle labelStyle,
  9. Color? activeColor,
  10. Color? inactiveColor,
})

Implementation

const ButtonGroupItem({
  super.key,
  required this.label,
  this.icon,
  this.selectIcon,
  required this.isSelected,
  required this.withIcon,
  this.padding = 20,
  required this.labelStyle,
  this.activeColor,
  this.inactiveColor,
});