ChangeNotifierProxyProvider6<T, T2, T3, T4, T5, T6, R extends ChangeNotifier> constructor

ChangeNotifierProxyProvider6<T, T2, T3, T4, T5, T6, R extends ChangeNotifier>({Key key, @required ValueBuilder<R> create, @required ProxyProviderBuilder6<T, T2, T3, T4, T5, T6, R> update, @Deprecated('will be removed in 4.0.0, use create instead') ValueBuilder<R> initialBuilder, @Deprecated('will be removed in 4.0.0, use update instead') ProxyProviderBuilder6<T, T2, T3, T4, T5, T6, R> builder, Widget child })

Initializes key for subclasses.

Implementation

ChangeNotifierProxyProvider6({
  Key key,
  @required ValueBuilder<R> create,
  @required ProxyProviderBuilder6<T, T2, T3, T4, T5, T6, R> update,
  @Deprecated('will be removed in 4.0.0, use create instead')
      ValueBuilder<R> initialBuilder,
  @Deprecated('will be removed in 4.0.0, use update instead')
      ProxyProviderBuilder6<T, T2, T3, T4, T5, T6, R> builder,
  Widget child,
}) : super(
        key: key,
        // ignore: deprecated_member_use_from_same_package
        create: create ?? initialBuilder,
        // ignore: deprecated_member_use_from_same_package
        update: update ?? builder,
        dispose: ChangeNotifierProvider._disposer,
        child: child,
      );