toggle abstract method

TickerFuture toggle({
  1. double? from,
})

Toggles the direction of this animation.

  • from: Optional starting point.

Ensures:

  • Reverses if currently running forward or completed; forwards otherwise.

Implementation

TickerFuture toggle({double? from});