font_scaler 1.0.1
font_scaler: ^1.0.1 copied to clipboard
FontScaler is a lightweight Flutter package that allows you to dynamically adjust the text scale across your entire app. It supports predefined scale levels (like small, medium, large) and a custom mo [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add font_scalerWith Flutter:
$ flutter pub add font_scalerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
font_scaler: ^1.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:font_scaler/font_scaler.dart';