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
hashCode int
The hash code for this object.
no setterinherited
isImageBitmapSupported bool
This flag indicates whether bitmaps will be uploaded efficiently
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
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