ScreenUtils class

Constructors

ScreenUtils()

Properties

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

Static Methods

isLandscape([BuildContext context]) bool
isMobileScreen([BuildContext context]) bool
isPortrait([BuildContext context]) bool
isTabletScreen([BuildContext context]) bool

Constants

sw600dp → const double
sw600dp qualifier is the breakpoint for popular 7-inch Android tablets. sw means smallest width, and the number 600 here is a common breakpoint for a typical 7-inch tablet.
600