AbstractFormBuilder<B extends StateStreamableSource<S>, S extends AbstractFormBaseState> constructor

AbstractFormBuilder<B extends StateStreamableSource<S>, S extends AbstractFormBaseState>({
  1. Key? key,
  2. void onInit(
    1. BuildContext context
    )?,
  3. bool skipInitialOnInit = false,
  4. bool reinitOnSuccess = true,
  5. bool reinitOnLocalSuccess = false,
  6. Widget errorBuilder(
    1. BuildContext context,
    2. void onInit(),
    3. S state
    )?,
  7. Widget loaderBuilder(
    1. BuildContext context,
    2. S state
    )?,
  8. bool isLoading(
    1. BuildContext context,
    2. S state
    )?,
  9. bool shouldAutovalidate(
    1. BuildContext context,
    2. S state
    )?,
  10. bool isError(
    1. BuildContext context,
    2. S state
    )?,
  11. bool hasData(
    1. BuildContext context,
    2. S state
    )?,
  12. Widget? child,
  13. Widget extendedBuilder(
    1. BuildContext context,
    2. S state,
    3. B bloc,
    4. void submit(),
    )?,
  14. Widget builder(
    1. BuildContext context,
    2. S state
    )?,
  15. void listener(
    1. BuildContext context,
    2. S state
    )?,
  16. void onSuccess(
    1. BuildContext context,
    2. S state
    )?,
  17. void onLocalSuccess(
    1. BuildContext context,
    2. S state
    )?,
  18. void onError(
    1. BuildContext context,
    2. S state
    )?,
  19. void onLocalError(
    1. BuildContext context,
    2. S state
    )?,
  20. void onValidationError(
    1. BuildContext context,
    2. S state
    )?,
  21. B? providerValue,
  22. B provider(
    1. BuildContext context
    )?,
  23. List<SingleChildWidget>? providers,
})

Implementation

AbstractFormBuilder({
  Key? key,
  this.onInit,
  this.skipInitialOnInit = false,
  this.reinitOnSuccess = true,
  this.reinitOnLocalSuccess = false,
  this.errorBuilder,
  this.loaderBuilder,
  this.isLoading,
  this.shouldAutovalidate,
  this.isError,
  this.hasData,
  this.child,
  this.extendedBuilder,
  this.builder,
  this.listener,
  this.onSuccess,
  this.onLocalSuccess,
  this.onError,
  this.onLocalError,
  this.onValidationError,
  this.providerValue,
  this.provider,
  this.providers,
}) : super(key: key);