ValueWidgetBuilder<T> typedef

Widget ValueWidgetBuilder (BuildContext context, T value, Widget child)

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:

Implementation

typedef ValueWidgetBuilder<T> = Widget Function(BuildContext context, T value, Widget child);