FieldModelBuilder<TSource, TDestination> constructor
const
FieldModelBuilder<TSource, TDestination> ({
- FieldModelRebuild rebuildWhen = FieldModelRebuild.change,
- required FieldModel<
TSource, TDestination> field, - required Widget builder(
- BuildContext context,
- FieldModel<
TSource, TDestination> field, - BaseEvent? previousEvent,
- BaseEvent? event,
- void listener()?,
- bool buildWhen(
- FieldModel<
TSource, TDestination> field, - BaseEvent? previous,
- BaseEvent? current
- FieldModel<
Implementation
const FieldModelBuilder(
{this.rebuildWhen = FieldModelRebuild.change,
required FieldModel<TSource, TDestination> field,
required Widget Function(
BuildContext context,
FieldModel<TSource, TDestination> field,
BaseEvent? previousEvent,
BaseEvent? event)
builder,
void Function(BaseEvent? previous, BaseEvent? current)? listener,
bool Function(FieldModel<TSource, TDestination> field,
BaseEvent? previous, BaseEvent? current)?
buildWhen})
: super(
builder: builder,
model: field,
buildWhen: buildWhen,
listener: listener);