ListenableProxyProvider4<T, T2, T3, T4, R extends Listenable> constructor

ListenableProxyProvider4<T, T2, T3, T4, R extends Listenable>({Key key, @required ValueBuilder<R> create, @required ProxyProviderBuilder4<T, T2, T3, T4, 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') ProxyProviderBuilder4<T, T2, T3, T4, R> builder, Disposer<R> dispose, Widget child })

Initializes key for subclasses.

Implementation

ListenableProxyProvider4({
  Key key,
  @required ValueBuilder<R> create,
  @required ProxyProviderBuilder4<T, T2, T3, T4, 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')
      ProxyProviderBuilder4<T, T2, T3, T4, R> builder,
  Disposer<R> dispose,
  Widget child,
}) : super(
        key: key,
        // ignore: deprecated_member_use_from_same_package
        initialBuilder: create ?? initialBuilder,
        // ignore: deprecated_member_use_from_same_package
        builder: update ?? builder,
        dispose: dispose,
        child: child,
      );