Environment class

The system environment in which the application is running.

Properties

devicePixelRatio → num
The device pixel ratio is the ratio between physical pixels and logical pixels. [...]
final
isLittleEndianSystem → bool
This flag indicates if the application is running on a device with a little endian CPU architecture. [...]
final
isMobileDevice → bool
This flag indicates if the application is running on a mobile device. [...]
final
isTouchEventSupported → bool
This flag indicates if the application is running on a device which support TouchEvents and therefore has a touch screen.
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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