Resolution class

Specifies in what resolution the application should be run.

Constructors

Resolution(double width, double height)
const
Resolution.fromJson(Map<String, dynamic> json)
Creates Resolution object from json
factory
Resolution.fromSize(String screenResolution)
Creates Resolution object from String in format x, eg. 1200x900.
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
height double
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
Returns a string representation of this object.
inherited

Operators

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