DefaultLoadingButton constructor
const
DefaultLoadingButton({
- Key? key,
- double? width,
- double? height,
- required FutureRequest request,
- required dynamic onSuccess({
- dynamic value,
- required Function onFailure,
- required Color? backgroundColor,
- required IconData icon,
- required String title,
- Validator? validator,
- String? failText,
- String? loadingText,
- String? successText,
Implementation
const DefaultLoadingButton(
{Key? key,
this.width,
this.height,
required this.request,
required this.onSuccess,
required this.onFailure,
required this.backgroundColor,
required this.icon,
required this.title,
this.validator,
this.failText,
this.loadingText,
this.successText})
: super(key: key);