Child constructor

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

Use Child in combination of other widget listeners, to control the part of the widget tree to rebuild.

Implementation

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