TextToggleButton constructor
const
TextToggleButton({
- Key? key,
- ButtonSeverity? severity,
- bool selected = false,
- bool loading = false,
- bool disabled = false,
- bool autofocus = false,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onSelected, - ButtonEventController? eventsController,
- Curve? curve,
- Duration? duration,
- ButtonStyle? enabledStyle,
- ButtonStyle? selectedStyle,
- ButtonStyle? focusedStyle,
- ButtonStyle? hoveredStyle,
- ButtonStyle? pressedStyle,
- ButtonStyle? disabledStyle,
- String? tooltip,
- Widget? leading,
- Widget? trailing,
- 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,
});