display library Null safety

Classes

Display
Provides information about of a logical display. [...]

Constants

DEFAULT_DISPLAY → const int
The default Display id, which is the id of the built-in primary display assuming there is one.
0
FLAG_PRIVATE → const int
Display flag: Indicates that the display is private. Only the application that owns the display and apps that are already on the display can create windows on it. [...]
1 << 2
FLAG_SECURE → const int
Display flag: Indicates that the display has a secure video output and supports compositing secure surfaces. [...]
1 << 1
FLAG_SUPPORTS_PROTECTED_BUFFERS → const int
Display flag: Indicates that the display supports compositing content that is stored in protected graphics buffers. [...]
1 << 0
INVALID_DISPLAY → const int
Invalid display id.
-1
ROTATION_0 → const int
Rotation constant: 0 degree rotation (natural orientation)
0
ROTATION_90 → const int
Rotation constant: 90 degree rotation.
1
ROTATION_180 → const int
Rotation constant: 180 degree rotation.
2
ROTATION_270 → const int
Rotation constant: 270 degree rotation.
3

Functions

displayFromJson(Map<String, dynamic> json) Display