build method

  1. @override
Widget build(
  1. BuildContext context,
  2. T watch<T>(
    1. NanoRead<T> readable
    )
)
override

Builds the widget and provides the function watch, which can be used to read the values of NanoRead instances and subscribe to changes to those values.

Implementation

@override
Widget build(
  BuildContext context,
  T Function<T>(NanoRead<T> readable) watch,
) {
  // Call builder with the BuildContext and watch function and return the
  // resulting Widget.
  return builder(context, watch);
}