ElevatedButton.block constructor
ElevatedButton.block({
- Key? key,
- ButtonSeverity? severity,
- CrossAxisAlignment? alignChildren,
- MainAxisAlignment? justifyChildren,
- bool expanded = true,
- bool loading = false,
- bool disabled = false,
- bool autofocus = false,
- FocusNode? focusNode,
- VoidCallback? onPressed,
- 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 block elevated button
Implementation
ElevatedButton.block({
super.key,
super.severity,
super.alignChildren,
super.justifyChildren,
super.expanded = true,
super.loading = false,
super.disabled = false,
super.autofocus = false,
super.focusNode,
super.onPressed,
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.block();