child property Null safety

Widget? child
final

A valueListenable-independent widget which is passed back to the builder.

This argument is optional and can be null if the entire widget subtree the builder builds depends on the value of the valueListenable. For example, if the valueListenable is a String and the builder simply returns a Text widget with the String value.

Implementation

final Widget? child;