responsive_scaler 1.0.1
responsive_scaler: ^1.0.1 copied to clipboard
A Flutter package for consistent responsive scaling of text, icons, and spacing based on screen size, helping maintain UI proportionality across devices.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add responsive_scalerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
responsive_scaler: ^1.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:responsive_scaler/responsive_scaler.dart';