appdimens_resize 3.2.0 copy "appdimens_resize: ^3.2.0" to clipboard
appdimens_resize: ^3.2.0 copied to clipboard

AppDimens resize strategy module — part of the modular AppDimens Flutter family (port of appdimens-dynamic / KMP).

AppDimens Resize #

Part of the AppDimens Flutter family — Flutter port of AppDimens Dynamic / AppDimens KMP.

Constraint-based auto-fit: builds a step table and binary-searches the largest candidate that fits — plus ready widgets AutoResizeText and AutoResizeSquare.

Installation #

dependencies:
  appdimens_resize: ^3.2.0

Prefer one dependency for everything? Use appdimens_bom.

Usage #

import 'package:appdimens_resize/appdimens_resize.dart';
AutoResizeText('Headline', minSp: 10, maxSp: 28),
AutoResizeSquare(min: 40, max: 120, child: Icon(Icons.aspect_ratio));

Family grammar #

Every strategy shares the same API grammar — suffixes (a · i · ia), orientation inverters (Ph/Lh/Pw/Lw), facilitators (Rotate/Mode/Qualifier/ Screen + Plain pairs), sp twins (ssp) and no-font-scale stems (sem):

Stem Axis Sp No font scale
Stem Axis Text (sp) No font scale
Range search + fitting predicates not axis-bound sp bounds supported

See the complete guide: DOCUMENTATION/resize.md · Math · API conventions

License #

Apache License 2.0 — © Jean Bodenberg.

1
likes
150
points
90
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

AppDimens resize strategy module — part of the modular AppDimens Flutter family (port of appdimens-dynamic / KMP).

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#responsive #ui #scaling

License

Apache-2.0 (license)

Dependencies

appdimens_flutter, flutter

More

Packages that depend on appdimens_resize