ResponsiveScreen class

Contains all screen size limits and all functions to test those limits

Constructors

ResponsiveScreen()

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

Static Properties

limits Map<ScreenSize, double>
Screen width size limits
getter/setter pair

Static Methods

getReferenceSize(double width) → dynamic
Gets the latest screen limit which contains width size
isScreenSize(ScreenSize tag, double screenSize) bool
Test if screen size limit respects the limit width referenced by tag