Device class abstract

Some common devices pre-created. We highly recommend including the iphone 5s since it's one of the smallest screens still in circulation. All our test devices have their devicePixelRatio set to 1.0 for performance reasons.

Constructors

Device()

Properties

hashCode int
The hash code for this object.
no setterinherited
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.
inherited

Operators

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

Static Properties

huaweiP9 Screen
Huawei P9
no setter
iphone12pro Screen
Iphone 12 Pro
no setter
iphone12proMax Screen
Iphone 12 Pro Max
no setter
iphone5s Screen
IPhone 5S
no setter