AwesomeLoadingButton constructor

const AwesomeLoadingButton({
  1. Key? key,
  2. required Future<void> onPressed(),
  3. required String text,
  4. void onException(
    1. Exception
    )?,
  5. Color? color,
  6. EdgeInsetsGeometry? padding,
  7. ShapeBorder? shape,
  8. ButtonTextTheme? textTheme,
  9. ButtonStyle styleType = ButtonStyle.filled,
  10. double elevation = 4,
  11. bool diabled = false,
  12. bool showLoadingIndicator = true,
  13. Animation<Color?>? loadingIndicatorValueColor,
  14. Color? loadingIndicatorColor,
  15. TextStyle? textStyle,
  16. Color? textColor,
})

Implementation

const AwesomeLoadingButton({
  Key? key,
  required this.onPressed,
  required this.text,
  this.onException,
  this.color,
  this.padding,
  this.shape,
  this.textTheme,
  this.styleType = ButtonStyle.filled,
  this.elevation = 4,
  this.diabled = false,
  this.showLoadingIndicator = true,
  this.loadingIndicatorValueColor,
  this.loadingIndicatorColor,
  this.textStyle,
  this.textColor,
}) : super(key: key);