LoadingButton constructor

const LoadingButton(
  1. {Key? key,
  2. bool autofocus = true,
  3. Widget? child,
  4. Clip? clipBehavior,
  5. FocusNode? focusNode,
  6. IconAlignment iconAlignment = IconAlignment.start,
  7. ValueChanged<bool>? onFocusChange,
  8. ValueChanged<bool>? onHover,
  9. VoidCallback? onLongPress,
  10. required Future onPressed(
      ),
    1. WidgetStatesController? statesController,
    2. ButtonStyle? style,
    3. 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});