ProgressButton.elevated constructor

const ProgressButton.elevated({
  1. Key? key,
  2. required VoidCallback? onPressed,
  3. bool isLoading = false,
  4. VoidCallback? onLongPress,
  5. ValueChanged<bool>? onHover,
  6. ValueChanged<bool>? onFocusChange,
  7. ButtonStyle? style,
  8. FocusNode? focusNode,
  9. bool autofocus = false,
  10. bool circular = false,
  11. Clip clipBehavior = Clip.none,
  12. WidgetStatesController? statesController,
  13. 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();