appdimens_logarithmic 3.2.0
appdimens_logarithmic: ^3.2.0 copied to clipboard
AppDimens logarithmic strategy module — part of the modular AppDimens Flutter family (port of appdimens-dynamic / KMP).
AppDimens Logarithmic #
Part of the AppDimens Flutter family — Flutter port of AppDimens Dynamic / AppDimens KMP.
Symmetric ±0.4·ln damping around the 300 dp baseline — the most conservative growth, ideal for density-first layouts.
Installation #
dependencies:
appdimens_logarithmic: ^3.2.0
Prefer one dependency for everything? Use
appdimens_bom.
Usage #
import 'package:appdimens_logarithmic/appdimens_logarithmic.dart';
final pad = 16.logsdp;
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 |
|---|---|---|---|
logsdp / loghdp / logwdp |
smallest width / height / width | logssp/loghsp/logwsp |
logsem/loghem/logwem |
See the complete guide: DOCUMENTATION/logarithmic.md · Math · API conventions
License #
Apache License 2.0 — © Jean Bodenberg.