DeviceService class
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
Static Properties
-
height
→ double
-
Safely gets the screen height, handling cases where context might not be available
no setter
-
isTablet
→ bool
-
no setter
-
width
→ double
-
Safely gets the screen width, handling cases where context might not be available
no setter