provider icon indicating copy to clipboard operation
provider copied to clipboard

Why when creating a Consumer, an optional child is asked? When is it used?

Open stephane-archer opened this issue 2 months ago • 0 comments

Why when creating a Consumer, an optional child is asked? When is it used? The builder is what decides what is shown from my understanding.

(new) Consumer<VideoCodecChangeNotifier> Consumer({
  Key? key,
  required Widget Function(BuildContext, VideoCodecChangeNotifier, Widget?) builder,
  Widget? child,
})

stephane-archer avatar Apr 28 '24 10:04 stephane-archer