currentState property
int
get
currentState
Current state of the sheet layout.
It's not snapped to the actual state position of the viewport, rather, it changes based on the scroll height when it enters the region of the closest state to anchor.
Implementation
int get currentState => _state;