DeviceDimensions class

Device dimensions and boundaries as constants for responsive layout.

Constructors

DeviceDimensions.new()

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

Constants

laptopMaxWidth → const double
The maximum width for laptop devices.
laptopMinWidth → const double
The minimum width for laptop devices.
largeMaxWidth → const double
The maximum width for large devices.
largeMinWidth → const double
The minimum width for large devices.
mobileMaxWidth → const double
The maximum width for mobile devices.
mobileMinWidth → const double
The minimum width for mobile devices (e.g., smartphones).
smallMaxWidth → const double
The maximum width for small devices.
smallMinWidth → const double
The minimum width for small devices (e.g., small screens or phones).
tabletMaxWidth → const double
The maximum width for tablet devices.
tabletMinWidth → const double
The minimum width for tablet devices.