scrollController property
The scroll controller for managing scroll events of the ruler.
scrollController is used to control and listen to scroll events for the ruler widget. It can be used to synchronize the ruler's movement with the scroll view and trigger updates when the user scrolls.
Implementation
late ScrollController scrollController;