TextToggleButton constructor

const TextToggleButton({
  1. Key? key,
  2. ButtonSeverity? severity,
  3. bool selected = false,
  4. bool loading = false,
  5. bool disabled = false,
  6. bool autofocus = false,
  7. FocusNode? focusNode,
  8. ValueChanged<bool>? onSelected,
  9. ButtonEventController? eventsController,
  10. Curve? curve,
  11. Duration? duration,
  12. ButtonStyle? enabledStyle,
  13. ButtonStyle? selectedStyle,
  14. ButtonStyle? focusedStyle,
  15. ButtonStyle? hoveredStyle,
  16. ButtonStyle? pressedStyle,
  17. ButtonStyle? disabledStyle,
  18. String? tooltip,
  19. Widget? leading,
  20. Widget? trailing,
  21. required Widget child,
})

Create a text button

Implementation

const TextToggleButton({
  super.key,
  super.severity,
  super.selected = false,
  super.loading = false,
  super.disabled = false,
  super.autofocus = false,
  super.focusNode,
  super.onSelected,
  super.eventsController,
  super.curve,
  super.duration,
  super.enabledStyle,
  super.selectedStyle,
  super.focusedStyle,
  super.hoveredStyle,
  super.pressedStyle,
  super.disabledStyle,
  super.tooltip,
  super.leading,
  super.trailing,
  required super.child,
});