ObjectModelBuilder<TObject> constructor
const
ObjectModelBuilder<TObject> ({
- required ObjectModel<
TObject> objectModel, - required Widget builder(
- BuildContext context,
- ObjectModel<
TObject> objectModel, - ObjectChangedEvent<
TObject> ? previousEvent, - ObjectChangedEvent<
TObject> ? event,
- void listener(
- ObjectChangedEvent<
TObject> ? previous, - ObjectChangedEvent<
TObject> ? current
- ObjectChangedEvent<
- bool buildWhen(
- ObjectModel<
TObject> objectModel, - ObjectChangedEvent<
TObject> ? previous, - ObjectChangedEvent<
TObject> ? current
- ObjectModel<
Implementation
const ObjectModelBuilder({
required ObjectModel<TObject> objectModel,
required Widget Function(
BuildContext context,
ObjectModel<TObject> objectModel,
ObjectChangedEvent<TObject>? previousEvent,
ObjectChangedEvent<TObject>? event)
builder,
void Function(ObjectChangedEvent<TObject>? previous,
ObjectChangedEvent<TObject>? current)?
listener,
bool Function(
ObjectModel<TObject> objectModel,
ObjectChangedEvent<TObject>? previous,
ObjectChangedEvent<TObject>? current)?
buildWhen,
}) : super(
builder: builder,
model: objectModel,
buildWhen: buildWhen,
listener: listener);