Display class
- Implemented types
Constructors
- Display.borrowed(int nativeHandle)
- Wraps a handle owned elsewhere; releasing it stays the owner's job.
- Display.fromHandle(int nativeHandle)
- Adopts a handle returned by the C API and releases it when this object becomes unreachable.
Properties
- bitDepth → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
no setter
- isPrimary → bool
-
no setter
- name → String?
-
no setter
- nativeHandle → int
-
The underlying handle-table entry.
final
-
nativeObject
→ Pointer<
Void> -
Platform-specific native object behind this handle.
no setter
- orientation → DisplayOrientation
-
no setter
- position → Point
-
no setter
- refreshRate → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleFactor → double
-
no setter
- size → Size
-
no setter
- workArea → Rectangle
-
no setter
Methods
-
dispose(
) → void - Releases the handle now instead of at collection.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited