ResponsiveData class

Immutable container for responsive metrics with Quantized IDs for Stability.

Constructors

ResponsiveData.fromMediaQuery(MediaQueryData? media, ScalifyConfig cfg)
Factory to compute ResponsiveData from MediaQueryData.
factory

Properties

config ScalifyConfig
final
hashCode int
The hash code for this object.
no setteroverride
height double
no setter
isLargeScreen bool
Helper to check if the screen is large.
no setter
isMediumScreen bool
Helper to check if the screen is medium.
no setter
isOverMaxWidth bool
Whether the current width exceeds the design desktop breakpoint.
no setter
isSmallScreen bool
Helper to check if the screen is small.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleFactor double
General scale factor.
final
scaleFactorId int
no setter
scaleHeight double
Height scale ratio.
final
scaleHeightId int
no setter
scaleWidth double
Width scale ratio.
final
scaleWidthId int
Public accessors for quantized ids (used for efficient comparisons).
no setter
screenType ScreenType
final
size Size
final
textScaleFactor double
final
textScaleFactorId int
no setter
width double
Convenience getters for width/height to simplify external usage.
no setter

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.
override

Constants

identity → const ResponsiveData
Identity data with default values.