attach method

void attach(
  1. TickerProvider vsync
)

Binds a ticker for spring show/hide. Safe to call repeatedly.

Implementation

// ignore: use_setters_to_change_properties -- attach/detach pair; not a field setter.
void attach(TickerProvider vsync) {
  _vsync = vsync;
}