toValueListenable method

SignalValueListenable<T, ValueListenable<T>, ReadonlySignal<T>> toValueListenable()

Convert a signal to ValueListenable to be used in builders and other existing widgets like ValueListenableBuilder

Implementation

SignalValueListenable<T, ValueListenable<T>, ReadonlySignal<T>>
    toValueListenable() {
  return SignalValueListenable<T, ValueListenable<T>,
      ReadonlySignal<T>>.fromSignal(this);
}