watch method

Widget watch(
  1. LiveValueWidgetBuilder<T> builder, {
  2. Key? key,
})

Implementation

Widget watch(LiveValueWidgetBuilder<T> builder, {Key? key}) {
  return LiveDataBuilder(
    key: key,
    observe: this,
    builder: (context, value, _) {
      return builder(value);
    },
  );
}