alignToPosition property
The position to align to.
When it is null, will calculate from current pointer position each time. The value should be a range from 0 ~ 1 while 0 means start (left) and 1 is end(right) of the viewPort.
Implementation
final double? alignToPosition;