MutationBuilder<T, B extends Cubit<ResourceState<T> > > constructor
const
MutationBuilder<T, B extends Cubit<ResourceState<T> > > ({
- Key? key,
- required ResourceMutationBuilder<
B, T> builder, - ResourceMutationOnError? onError,
- ResourceMutationOnSuccess<
T> ? onSuccess, - String? successMessage,
- Widget? loadingWidget,
- Color? loadingWidgetColor,
- bool showSuccessBody = false,
- bool pop = false,
Implementation
const MutationBuilder({
Key? key,
required this.builder,
this.onError,
this.onSuccess,
this.successMessage,
this.loadingWidget,
this.loadingWidgetColor,
this.showSuccessBody = false,
this.pop = false,
}) : super(key: key);