ListenableProxyProvider4<T, T2, T3, T4, R extends Listenable?> constructor
ListenableProxyProvider4<T, T2, T3, T4, R extends Listenable?> ({
- Key? key,
- Create<
R> ? create, - required ProxyProviderBuilder4<
T, T2, T3, T4, R> update, - Dispose<
R> ? dispose, - bool? lazy,
- TransitionBuilder? builder,
- Widget? child,
Initializes key
for subclasses.
Implementation
ListenableProxyProvider4({
Key? key,
Create<R>? create,
required ProxyProviderBuilder4<T, T2, T3, T4, 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),
previous,
),
dispose: dispose,
child: child,
);