position property

double position
final

The current position/active dot index.

Can be a fractional value to allow for smooth animations between positions. Must be >= 0 and < dotsCount.

Implementation

final double position;