DisplayMode class

Constructors

DisplayMode({required int width, required int height, required int widthInNativePixels, required int heightInNativePixels, double? uiScale, required double deviceScaleFactor, required double refreshRate, required bool isNative, required bool isSelected, bool? isInterlaced})
DisplayMode.fromJS(DisplayMode _wrapped)

Properties

deviceScaleFactor double
The display mode device scale factor.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int
The display mode height in device independent (user visible) pixels.
getter/setter pair
heightInNativePixels int
The display mode height in native pixels.
getter/setter pair
isInterlaced bool?
True if this mode is interlaced, false if not provided.
getter/setter pair
isNative bool
True if the mode is the display's native mode.
getter/setter pair
isSelected bool
True if the display mode is currently selected.
getter/setter pair
refreshRate double
The display mode refresh rate in hertz.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJS DisplayMode
no setter
uiScale double?
The display mode UI scale factor.
getter/setter pair
width int
The display mode width in device independent (user visible) pixels.
getter/setter pair
widthInNativePixels int
The display mode width in native pixels.
getter/setter pair

Methods

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