vsync property

TickerProvider? get vsync

A TickerProvider to use when animating the scroll position.

Implementation

TickerProvider? get vsync => _vsync;
set vsync (TickerProvider? value)

Implementation

set vsync(TickerProvider? value) {
  if (value == _vsync) {
    return;
  }
  _vsync = value;
  if (value == null) {
    _controller?.dispose();
    _controller = null;
  } else {
    _controller?.resync(value);
  }
}