ChangeNotifierProxyProvider2<T, T2, R extends ChangeNotifier?> constructor
ChangeNotifierProxyProvider2<T, T2, R extends ChangeNotifier?> ({
- Key? key,
- required Create<
R> create, - required ProxyProviderBuilder2<
T, T2, R> update, - bool? lazy,
- TransitionBuilder? builder,
- Widget? child,
Initializes key
for subclasses.
Implementation
ChangeNotifierProxyProvider2({
Key? key,
required Create<R> create,
required ProxyProviderBuilder2<T, T2, R> update,
bool? lazy,
TransitionBuilder? builder,
Widget? child,
}) : super(
key: key,
create: create,
update: update,
dispose: ChangeNotifierProvider._dispose,
lazy: lazy,
builder: builder,
child: child,
);