Consumer5<A, B, C, D, E> constructor

Consumer5<A, B, C, D, E>(
  1. {Key key,
  2. @required Widget builder(
    1. BuildContext context,
    2. A value,
    3. B value2,
    4. C value3,
    5. D value4,
    6. E value5,
    7. Widget child
    ),
  3. Widget child}
)

Consumes a Provider<T>

Implementation

Consumer5({
  Key key,
  @required this.builder,
  Widget child,
})  : assert(builder != null),
      super(key: key, child: child);