StoreBuilder<S> constructor
const
StoreBuilder<S> ({
- Key? key,
- required ViewModelBuilder<
Store< builder,S> > - OnInitCallback<
S> ? onInit, - OnDisposeCallback<
S> ? onDispose, - bool rebuildOnChange = true,
- OnWillChangeCallback<
Store< ? onWillChange,S> > - OnDidChangeCallback<
Store< ? onDidChange,S> > - OnInitialBuildCallback<
Store< ? onInitialBuild,S> >
Create's a Widget based on the Store.
Implementation
const StoreBuilder({
Key? key,
required this.builder,
this.onInit,
this.onDispose,
this.rebuildOnChange = true,
this.onWillChange,
this.onDidChange,
this.onInitialBuild,
}) : super(key: key);