Skip to main content

dynamic_size_config 1.0.1 copy "dynamic_size_config: ^1.0.1" to clipboard
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 MediaQuery calls
  • 🌍 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
---


1
likes
0
points
66
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight responsive size & typography utility for Flutter.

License

unknown (license)

Dependencies

flutter

More

Packages that depend on dynamic_size_config