FormModelBuilder<TModel extends FormModel> constructor

FormModelBuilder<TModel extends FormModel>({
  1. required TModel form,
  2. required Widget builder(
    1. BuildContext context,
    2. TModel form,
    3. BaseEvent? previousEvent,
    4. BaseEvent? event,
    ),
  3. void listener(
    1. BaseEvent? previous,
    2. BaseEvent? current
    )?,
  4. bool buildWhen(
    1. TModel model,
    2. BaseEvent? previous,
    3. BaseEvent? current
    )?,
})

Implementation

FormModelBuilder(
    {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);