navigationMode property
NavigationMode
navigationMode
Returns navigationMode for the nearest MediaQuery ancestor or throws an exception, if no such ancestor exists.
Implementation
NavigationMode get navigationMode => MediaQuery.navigationModeOf(this);