ProxyProvider3<T, T2, T3, R> constructor
ProxyProvider3<T, T2, T3, R> ({
- Key? key,
- Create<
R> ? create, - required ProxyProviderBuilder3<
T, T2, T3, R> update, - UpdateShouldNotify<
R> ? updateShouldNotify, - Dispose<
R> ? dispose, - bool? lazy,
- TransitionBuilder? builder,
- Widget? child,
Initializes key
for subclasses.
Implementation
ProxyProvider3({
Key? key,
Create<R>? create,
required ProxyProviderBuilder3<T, T2, T3, R> update,
UpdateShouldNotify<R>? updateShouldNotify,
Dispose<R>? dispose,
bool? lazy,
TransitionBuilder? builder,
Widget? child,
}) : super(
key: key,
lazy: lazy,
builder: builder,
create: create,
update: (context, value) => update(
context,
Provider.of(context),
Provider.of(context),
Provider.of(context),
value,
),
updateShouldNotify: updateShouldNotify,
dispose: dispose,
child: child,
);