SystemChrome class
Controls specific aspects of the operating system's graphical interface and how it interacts with the application.
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Static Properties
- latestStyle → SystemUiOverlayStyle
-
The last style that was set using SystemChrome.setSystemUIOverlayStyle.
@visibleForTesting, read-only
Static Methods
-
restoreSystemUIOverlays(
) → Future< void> - Restores the system overlays to the last settings provided via setEnabledSystemUIOverlays. May be used when the platform force enables/disables UI elements. [...]
-
setApplicationSwitcherDescription(
ApplicationSwitcherDescription description) → Future< void> - Specifies the description of the current state of the application as it pertains to the application switcher (also known as "recent tasks"). [...]
-
setEnabledSystemUIOverlays(
List< SystemUiOverlay> overlays) → Future< void> - Specifies the set of system overlays to have visible when the application is running. [...]
-
setPreferredOrientations(
List< DeviceOrientation> orientations) → Future< void> - Specifies the set of orientations the application interface can be displayed in. [...]
-
setSystemUIOverlayStyle(
SystemUiOverlayStyle style) → void - Specifies the style to use for the system overlays that are visible (if any). [...]