adaptive_text_resizer 0.0.1 copy "adaptive_text_resizer: ^0.0.1" to clipboard
adaptive_text_resizer: ^0.0.1 copied to clipboard

A Flutter package that adjusts text size dynamically based on screen width.

Adaptive Text Resizer #

A Flutter package that dynamically adjusts text size based on screen width, ensuring readability across all devices. This package helps optimize UI responsiveness and improve accessibility.

Features #

✅ Automatically scales text size based on screen width. ✅ Allows customizable minimum and maximum font sizes. ✅ Works with any text widget in Flutter. ✅ Lightweight and easy to integrate. ✅ Improves accessibility for different screen sizes.

Installation #

To use Adaptive Text Resizer, follow these steps:

Add the dependency #

Include it in your pubspec.yaml file: dependencies: adaptive_text_resizer: ^1.0.0 Then run: flutter pub get

Import the package #

import 'package:adaptive_text_resizer/adaptive_text_resizer.dart';

Usage #

Basic Example AdaptiveText( text: "Adaptive Text Example", style: TextStyle(fontWeight: FontWeight.bold), minSize: 14, maxSize: 28, );

Using with Theme Styling

AdaptiveText( text: "Dynamic Resizing", style: Theme.of(context).textTheme.headline5, minSize: 16, maxSize: 32, );

const like = 'sample';

Additional information #

License: MIT License - Free to use and modify..

Author #

Created by Mathan Thiruvenkadam 🚀

1
likes
130
points
26
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package that adjusts text size dynamically based on screen width.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on adaptive_text_resizer