TextIconButton constructor

const TextIconButton({
  1. required IconData icon,
  2. required String text,
  3. required Color selectedColor,
  4. required Color disabledColor,
  5. double? width,
  6. TextStyle? textStyle,
  7. EdgeInsets? margin,
  8. VoidCallback? onPressed,
  9. bool isSelected = false,
  10. Key? key,
})

Implementation

const TextIconButton({
  required this.icon,
  required this.text,
  required this.selectedColor,
  required this.disabledColor,
  this.width,
  this.textStyle,
  this.margin,
  this.onPressed,
  this.isSelected = false,
  final Key? key,
}) : super(key: key);