ProxyProvider6<T, T2, T3, T4, T5, T6, R> constructor

ProxyProvider6<T, T2, T3, T4, T5, T6, R>(
  1. {Key key,
  2. Create<R> create,
  3. @required ProxyProviderBuilder6<T, T2, T3, T4, T5, T6, R> update,
  4. UpdateShouldNotify<R> updateShouldNotify,
  5. Dispose<R> dispose,
  6. bool lazy,
  7. Widget child}
)

Initializes key for subclasses.

Implementation

ProxyProvider6({
  Key key,
  Create<R> create,
  @required ProxyProviderBuilder6<T, T2, T3, T4, T5, T6, R> update,
  UpdateShouldNotify<R> updateShouldNotify,
  Dispose<R> dispose,
  bool lazy,
  Widget child,
})  : assert(update != null),
      super(
        key: key,
        lazy: lazy,
        create: create,
        update: (context, value) => update(
          context,
          Provider.of(context),
          Provider.of(context),
          Provider.of(context),
          Provider.of(context),
          Provider.of(context),
          Provider.of(context),
          value,
        ),
        updateShouldNotify: updateShouldNotify,
        dispose: dispose,
        child: child,
      );