ChangeNotifierProxyProvider4<T, T2, T3, T4, R extends ChangeNotifier> constructor

ChangeNotifierProxyProvider4<T, T2, T3, T4, R extends ChangeNotifier>(
  1. {Key key,
  2. @required Create<R> create,
  3. @required ProxyProviderBuilder4<T, T2, T3, T4, R> update,
  4. bool lazy,
  5. Widget child}
)

Initializes key for subclasses.

Implementation

ChangeNotifierProxyProvider4({
  Key key,
  @required Create<R> create,
  @required ProxyProviderBuilder4<T, T2, T3, T4, R> update,
  bool lazy,
  Widget child,
}) : super(
        key: key,
        create: create,
        update: update,
        dispose: ChangeNotifierProvider._dispose,
        lazy: lazy,
        child: child,
      );