fractionalPosition property
The fraction of contextWidth
represented by position
.
Implementation
double get fractionalPosition => _position / contextWidth;
The fraction of contextWidth
represented by position
.
double get fractionalPosition => _position / contextWidth;