CustomValueWidgetBuilder<T> typedef

CustomValueWidgetBuilder<T> = Widget Function(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 CustomValueListenableBuilder 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 CustomValueWidgetBuilder<T> = Widget Function(BuildContext context, T value, Widget? child);