❌ Deprecated: Responsive Addons (Legacy)
This package provides a simple set of responsive extensions (
.h,.w,.sp, etc.) based on a fixed Figma design frame.
It usesMediaQueryData.fromWindow(ui.window)for resolution-independent scaling.
⚠️ Deprecation Notice
This package is no longer actively maintained.
We recommend switching to the official and more robust package:
✅ responsive_master
- Modern, modular, and scalable
- Built-in support for:
- Percentage-based units (
.ph,.pw) - Design scaling modes (
.h,.w,.sp,.r) - Bootstrap-style grid and layout
- Breakpoint utilities (
context.isSm, etc.) - Custom error screen and orientation control
- Percentage-based units (
Example
Text(
'Hello',
style: TextStyle(fontSize: 16.sp),
);
SizedBox(
width: 100.w,
height: 50.h,
);