pro_scale 0.0.1
pro_scale: ^0.0.1 copied to clipboard
Screen-adaptive scaling for size, spacing, radius and fonts, with automatic orientation swap and accessibility-aware font sizing.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add pro_scaleThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
pro_scale: ^0.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:pro_scale/pro_scale.dart';