hasInputState property
bool
get
hasInputState
Whether transient keyboard or pointer gesture state is currently active.
Hosts use this during focus and lifecycle transitions to release modifier, drag, hover, or scroll-lock state without necessarily discarding the selected range.
Implementation
bool get hasInputState;