Consumer<T extends BlocBase> constructor

Consumer<T extends BlocBase>({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. T value
    ),
  3. String tag = "global",
  4. bool distinct(
    1. T oldValue,
    2. T newValue
    )?,
})

Implementation

Consumer({Key? key, required this.builder, this.tag = "global", this.distinct}) : super(key: key);