ResponsiveData class
Constructors
- ResponsiveData({required Size size, required double textScaleFactor, required ScreenType screenType, required ResponsiveConfig config, required double scaleWidth, required double scaleHeight, required double scaleFactor})
- ResponsiveData.fromMediaQuery(MediaQueryData? media, ResponsiveConfig config)
-
✅ Safe Calculation: حماية من القيم الصفرية (Web/Desktop init)
factory
- ResponsiveData.identity({ResponsiveConfig? config})
-
✅ Safe Fallback: يستخدم عند فشل العثور على Context أو عدم تهيئة البيانات
factory
Properties
- config → ResponsiveConfig
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLargeScreen → bool
-
no setter
- isMediumScreen → bool
-
no setter
- isOverMaxWidth → bool
-
no setter
- isSmallScreen → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleFactor → double
-
final
- scaleHeight → double
-
final
- scaleWidth → double
-
final
- screenType → ScreenType
-
final
- size → Size
-
final
- textScaleFactor → double
-
final
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