ButtonWithLoader constructor
const
ButtonWithLoader({
- Key? key,
- required String title,
- required void onPressed(
- Function startLoading,
- Function stopLoading,
- IsSuccess isSuccess,
- ButtonSpinnerState btnState,
- void onLongPressed(
- Function startLoading,
- Function stopLoading,
- IsSuccess isSuccess,
- ButtonSpinnerState btnState,
- TextStyle? titleStyle,
- ButtonLoaderData buttonData = const ButtonLoaderData(),
Implementation
const ButtonWithLoader({
super.key,
required this.title,
required this.onPressed,
this.onLongPressed,
this.titleStyle,
this.buttonData = const ButtonLoaderData(),
});