$watch<T> function

WatchBLoCWidget $watch<T>(
  1. LiveData<T>? lv, {
  2. Key? key,
  3. required Widget build(
    1. BuildContext context,
    2. T value
    ),
})

Implementation

WatchBLoCWidget $watch<T>(
  LiveData<T>? lv, {
  Key? key,
  required Widget Function(BuildContext context, T value) build,
}) {
  return WatchBLoCWidget<T>(
    liveData: lv,
    builder: build,
    key: key,
  );
}