DVDisplay class final

A display the application can address.

Constructors

DVDisplay({required String id, required String name, required Rect bounds, required double devicePixelRatio, required double refreshRate, required bool isPrimary, required bool hasLayout})
const

Properties

bounds → Rect
Logical pixels, so a layout decision reads the same number it lays out in.
final
devicePixelRatio → double
final
hashCode → int
The hash code for this object.
no setterinherited
hasLayout → bool
Whether bounds carries a real layout origin.
final
id → String
Stable for the display's connection.
final
isPrimary → bool
final
name → String
From the device profile when one names it, else the OS-reported panel name, else derived. Never empty: it reaches logs and dartvel explain.
final
refreshRate → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
inherited