ResponsiveInformation class

Data class to handle responsive information for the widget. This class stores the necesary information so the widget can create their responsive

Constructors

ResponsiveInformation({required DeviceScreen deviceScreen, required Size screenSize, required Size localSize, required ScreenBreakpoints currentBreakpoints, required Orientation orientation})

Properties

currentBreakpoints ScreenBreakpoints
They are the actual control points after filter between all the Breakpoints LocalBreakpoints, GlobalBreakpoints or DefaultBreakpoints
final
deviceScreen DeviceScreen
This value tells the condition to look for the breakpoint value in the WrapperConfig for the sreen type mobile, tablet, desktop
final
hashCode int
The hash code for this object.
no setterinherited
isDesktop bool
no setter
isLandscape bool
Return true if the de device is mode Landscape
final
isMobile bool
no setter
isPortrait bool
Return true if the de device is mode Portrait
final
isTablet bool
no setter
localSize Size
Size of the current Widget This value it is obtained by the constraints
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenSize Size
Size of the current screen This is similar to MediaQuery.of(context).size
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited