ModelBuilder<TModel extends IObservable<BaseEvent> , TEvent extends BaseEvent> constructor
const
ModelBuilder<TModel extends IObservable<BaseEvent> , TEvent extends BaseEvent> ({
- required TModel model,
- required Widget builder(
- BuildContext context,
- TModel model,
- TEvent? previousEvent,
- TEvent? event,
- bool buildWhen(
- TModel model,
- TEvent? previous,
- TEvent? current
- void listener(
- TEvent? previous,
- TEvent? current
Implementation
const ModelBuilder(
{required this.model,
required this.builder,
this.buildWhen,
this.listener});