ListenableProxyProvider0<R extends Listenable?> constructor
ListenableProxyProvider0<R extends Listenable?> ({
- Key? key,
- Create<
R> ? create, - required R update(
- BuildContext,
- R? previous
- Dispose<
R> ? dispose, - UpdateShouldNotify<
R> ? updateShouldNotify, - bool? lazy,
- TransitionBuilder? builder,
- Widget? child,
Initializes key
for subclasses.
Implementation
ListenableProxyProvider0({
Key? key,
Create<R>? create,
required R Function(BuildContext, R? previous) update,
Dispose<R>? dispose,
UpdateShouldNotify<R>? updateShouldNotify,
bool? lazy,
TransitionBuilder? builder,
Widget? child,
}) : super(
key: key,
create: create,
update: update,
lazy: lazy,
builder: builder,
dispose: dispose,
updateShouldNotify: updateShouldNotify,
startListening: ListenableProvider._startListening,
child: child,
);