font_scaler 1.0.2 copy "font_scaler: ^1.0.2" to clipboard
font_scaler: ^1.0.2 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 Flutter:

 $ flutter pub add font_scaler

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  font_scaler: ^1.0.2

Alternatively, 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:font_scaler/font_scaler.dart';
3
likes
140
points
33
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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 mode for user-defined scaling. Optional persistent storage using SharedPreferences lets you retain the user’s preference across sessions.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on font_scaler