LoadingButton constructor
const
LoadingButton(- {Key? key,
- bool autofocus = true,
- Widget? child,
- Clip? clipBehavior,
- FocusNode? focusNode,
- IconAlignment iconAlignment = IconAlignment.start,
- ValueChanged<bool>? onFocusChange,
- ValueChanged<bool>? onHover,
- VoidCallback? onLongPress,
- required Future onPressed(
),
- WidgetStatesController? statesController,
- ButtonStyle? style,
- Color? loaderColor}
)
Implementation
const LoadingButton(
{super.key,
this.autofocus = true,
this.child,
this.clipBehavior,
this.focusNode,
this.iconAlignment = IconAlignment.start,
this.onFocusChange,
this.onHover,
this.onLongPress,
required this.onPressed,
this.statesController,
this.style,
this.loaderColor});