ValueWidgetBuilder< T> typedef
Builds a Widget when given a concrete value of a ValueListenable<T>.
If the child
parameter provided to the ValueListenableBuilder is not
null, the same child
widget is passed back to this ValueWidgetBuilder
and should typically be incorporated in the returned widget tree.
See also:
- ValueListenableBuilder, a widget which invokes this builder each time a ValueListenable changes value.
Implementation
typedef ValueWidgetBuilder<T> = Widget Function(BuildContext context, T value, Widget child);