AwesomeLoadingButton constructor
const
AwesomeLoadingButton({
- Key? key,
- required Future<
void> onPressed(), - required String text,
- void onException()?,
- Color? color,
- EdgeInsetsGeometry? padding,
- ShapeBorder? shape,
- ButtonTextTheme? textTheme,
- ButtonStyle styleType = ButtonStyle.filled,
- double elevation = 4,
- bool diabled = false,
- bool showLoadingIndicator = true,
- Animation<
Color?> ? loadingIndicatorValueColor, - Color? loadingIndicatorColor,
- TextStyle? textStyle,
- 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);