ButtonState constructor
const
ButtonState({
- Key? key,
- required Widget child(
- VoidCallback? onPressed
- (dynamic Function()?, (dynamic, dynamic Function(dynamic data))?)? onSubmit,
- LoadingStyle? loadingStyle,
- dynamic onFailure(
- dynamic data
- bool? showToastError,
- bool? skeletonizerLoading,
- Widget? loading,
Implementation
const ButtonState({
super.key,
required this.child,
this.onSubmit,
this.loadingStyle,
this.onFailure,
this.showToastError,
this.skeletonizerLoading,
this.loading,
});