Display class

Device display information.

Constructors

Display({int? density, int? displayId, int? height, String? name, int? refreshRate, String? state, int? width})
Display.fromJson(Map json_)

Properties

density int?
Display density expressed as dots-per-inch.
getter/setter pair
displayId int?
Unique display id.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int?
Display height in pixels.
getter/setter pair
name String?
Name of the display.
getter/setter pair
refreshRate int?
Refresh rate of the display in frames per second.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
State of the display. Possible string values are:
getter/setter pair
width int?
Display width in pixels.
getter/setter pair

Methods

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

Operators

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