Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Flutter
  2. services.dart
  3. SystemChrome class
SystemChrome
description

SystemChrome classabstractfinal

Controls specific aspects of the operating system's graphical interface andhow it interacts with the application.

Properties

hashCodeint
The hash code for this object.
no setterinherited
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString()String
A string representation of this object.
inherited

Operators

operator ==(Objectother)bool
The equality operator.
inherited

Static Properties

latestStyleSystemUiOverlayStyle?
The last style that was set usingSystemChrome.setSystemUIOverlayStyle.
no setter

Static Methods

handleAppLifecycleStateChanged(AppLifecycleStatestate)→ void
Called by the binding during a transition to a new app lifecycle state.
restoreSystemUIOverlays()Future<void>
Restores the system overlays to the last settings provided viasetEnabledSystemUIMode. May be used when the platform force enables/disablesUI elements.
setApplicationSwitcherDescription(ApplicationSwitcherDescriptiondescription)Future<void>
Specifies the description of the current state of the application as itpertains to the application switcher (also known as "recent tasks").
setEnabledSystemUIMode(SystemUiModemode, {List<SystemUiOverlay>?overlays})Future<void>
Specifies theSystemUiMode to have visible when the applicationis running.
setPreferredOrientations(List<DeviceOrientation>orientations)Future<void>
Specifies the set of orientations the application interface canbe displayed in.
setSystemUIChangeCallback(SystemUiChangeCallback?callback)Future<void>
Sets the callback method for responding to changes in the system UI.
setSystemUIOverlayStyle(SystemUiOverlayStylestyle)→ void
Specifies the style to use for the system overlays (e.g. the status bar onAndroid or iOS, the system navigation bar on Android) that are visible (if any).
  1. Flutter
  2. services
  3. SystemChrome class
services library

[8]ページ先頭

©2009-2026 Movatter.jp