builder property

Widget Function(BuildContext context, V? value) builder
final

Rebuilds when cell's value changes.

Called at least once (initial build) with cell.value. Called again every time the cell emits a value different from the previous one. The value is V? — nullable, so a not-yet-emitted cell renders as null. Provide a default in builder if the view needs one.

Implementation

final Widget Function(BuildContext context, V? value) builder;