ListenableProxyProvider5<T, T2, T3, T4, T5, R extends Listenable?> constructor
ListenableProxyProvider5<T, T2, T3, T4, T5, R extends Listenable?> ({
- Key? key,
- Create<
R> ? create, - required ProxyProviderBuilder5<
T, T2, T3, T4, T5, R> update, - Dispose<
R> ? dispose, - bool? lazy,
- TransitionBuilder? builder,
- Widget? child,
Initializes key
for subclasses.
Implementation
ListenableProxyProvider5({
Key? key,
Create<R>? create,
required ProxyProviderBuilder5<T, T2, T3, T4, T5, R> update,
Dispose<R>? dispose,
bool? lazy,
TransitionBuilder? builder,
Widget? child,
}) : super(
key: key,
create: create,
lazy: lazy,
builder: builder,
update: (context, previous) => update(
context,
Provider.of(context),
Provider.of(context),
Provider.of(context),
Provider.of(context),
Provider.of(context),
previous,
),
dispose: dispose,
child: child,
);