child property

Widget? child
final

The optional child to be passed to the builder.

Supply this child if there is a portion of the widget tree built in builder that doesn't depend on the controller or context supplied to the builder. It will be more efficient, since Flutter doesn't then need to rebuild this child when those change.

Implementation

final Widget? child;