Consumer constructor

const Consumer({
  1. Key? key,
  2. required ConsumerBuilder builder,
  3. Widget? child,
})

Implementation

const Consumer({
  Key? key,
  required this.builder,
  this.child,
}) : super(key: key);