TextToggleButton.icon constructor
TextToggleButton.icon({
- Key? key,
- ButtonSeverity? severity,
- BoxShape shape = BoxShape.circle,
- double? size,
- 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 an icon text button
Implementation
TextToggleButton.icon({
super.key,
super.severity,
super.shape = BoxShape.circle,
super.size,
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,
}) : super.icon();