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