FormFieldModelBuilder<TModel extends FormModel> constructor
const
FormFieldModelBuilder<TModel extends FormModel> ({
- FieldModelRebuild rebuildWhen = FieldModelRebuild.change,
- Iterable<
FieldModel> fields(- TModel form
- required TModel form,
- required Widget builder(
- BuildContext context,
- TModel form,
- BaseEvent? previousEvent,
- BaseEvent? event,
- void listener()?,
- bool buildWhen()?,
Implementation
const FormFieldModelBuilder(
{this.rebuildWhen = FieldModelRebuild.change,
this.fields,
required TModel form,
required Widget Function(BuildContext context, TModel form,
BaseEvent? previousEvent, BaseEvent? event)
builder,
void Function(BaseEvent? previous, BaseEvent? current)? listener,
bool Function(TModel model, BaseEvent? previous, BaseEvent? current)?
buildWhen})
: super(
builder: builder,
model: form,
buildWhen: buildWhen,
listener: listener);