FLLoadingButton constructor
FLLoadingButton({
- Key? key,
- Widget? child,
- required VoidCallback onPressed,
- ButtonTextTheme? textTheme,
- Color? textColor,
- Color? color,
- ValueChanged<
bool> ? onHighlightChanged, - Color? disabledColor,
- Color? focusColor,
- Color? hoverColor,
- Color? highlightColor,
- Color? disabledTextColor,
- Color? splashColor,
- Brightness? colorBrightness,
- double? elevation,
- double? hoverElevation,
- double? focusElevation,
- double? highlightElevation,
- double? disabledElevation,
- EdgeInsetsGeometry? padding,
- ShapeBorder? shape,
- Clip clipBehavior = Clip.none,
- FocusNode? focusNode,
- MaterialTapTargetSize? materialTapTargetSize,
- Duration? animationDuration,
- double? minWidth,
- double? height,
- bool indicatorOnly = false,
- Color? indicatorColor,
- double? indicatorSize,
- bool loading = false,
Implementation
FLLoadingButton({
Key? key,
this.child,
required this.onPressed,
this.textTheme,
this.textColor,
this.color,
this.onHighlightChanged,
this.disabledColor,
this.focusColor,
this.hoverColor,
this.highlightColor,
this.disabledTextColor,
this.splashColor,
this.colorBrightness,
this.elevation,
this.hoverElevation,
this.focusElevation,
this.highlightElevation,
this.disabledElevation,
this.padding,
this.shape,
this.clipBehavior = Clip.none,
this.focusNode,
this.materialTapTargetSize,
this.animationDuration,
this.minWidth,
this.height,
this.indicatorOnly = false,
this.indicatorColor,
this.indicatorSize,
this.loading = false,
}) : super(key: key);