FLLoadingButton constructor

FLLoadingButton({
  1. Key? key,
  2. Widget? child,
  3. required VoidCallback onPressed,
  4. ButtonTextTheme? textTheme,
  5. Color? textColor,
  6. Color? color,
  7. ValueChanged<bool>? onHighlightChanged,
  8. Color? disabledColor,
  9. Color? focusColor,
  10. Color? hoverColor,
  11. Color? highlightColor,
  12. Color? disabledTextColor,
  13. Color? splashColor,
  14. Brightness? colorBrightness,
  15. double? elevation,
  16. double? hoverElevation,
  17. double? focusElevation,
  18. double? highlightElevation,
  19. double? disabledElevation,
  20. EdgeInsetsGeometry? padding,
  21. ShapeBorder? shape,
  22. Clip clipBehavior = Clip.none,
  23. FocusNode? focusNode,
  24. MaterialTapTargetSize? materialTapTargetSize,
  25. Duration? animationDuration,
  26. double? minWidth,
  27. double? height,
  28. bool indicatorOnly = false,
  29. Color? indicatorColor,
  30. double? indicatorSize,
  31. 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);