dynamic_size_config 1.0.1
dynamic_size_config: ^1.0.1 copied to clipboard
A lightweight responsive size & typography utility for Flutter.
📐 SizeConfig #
A simple, lightweight, and clean responsive size & typography helper for Flutter.
SizeConfig helps you scale fonts, spacing, and UI elements consistently across small phones, large devices, and tablets — with one-time initialization and clean extension syntax like 16.sp.
✨ Features #
- 📱 Responsive font scaling
- 📏 Consistent padding & spacing
- 🧠 Device detection (small device / tablet)
- ⚡ One-time initialization
- 🧩 Clean extensions (
.sp,.title,.scale) - 🚫 No repeated
MediaQuerycalls - 🌍 Works on Android, iOS, Web & Desktop
🚀 Installation #
Add the package to your pubspec.yaml:
Usage #
Initialize first :
SizeConfig.init(context);
Text(
'Hello',
style: TextStyle(fontSize: 16.sp),
);
```yaml
dependencies:
size_config: ^1.0.0
---