ProgressButton.elevated constructor
const
ProgressButton.elevated({
- Key? key,
- required VoidCallback? onPressed,
- bool isLoading = false,
- VoidCallback? onLongPress,
- ValueChanged<
bool> ? onHover, - ValueChanged<
bool> ? onFocusChange, - ButtonStyle? style,
- FocusNode? focusNode,
- bool autofocus = false,
- bool circular = false,
- Clip clipBehavior = Clip.none,
- WidgetStatesController? statesController,
- required Widget child,
Implementation
const ProgressButton.elevated({
super.key,
required this.onPressed,
this.isLoading = false,
this.onLongPress,
this.onHover,
this.onFocusChange,
this.style,
this.focusNode,
this.autofocus = false,
this.circular = false,
this.clipBehavior = Clip.none,
this.statesController,
required this.child,
}) : variant = const ElevatedVariant();