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

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

AppDimens Diagonal #

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

Scales by the window diagonal against the design baseline (√(300²+533²)) — orientation-stable and qualifier-independent.

Installation #

dependencies:
  appdimens_diagonal: ^3.2.0

Prefer one dependency for everything? Use appdimens_bom.

Usage #

import 'package:appdimens_diagonal/appdimens_diagonal.dart';
final size = 16.dgsdp;   // same value on every axis/rotation

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
dgsdp / dghdp / dgwdp any (independent) dgssp/dghsp/dgwsp dgsem/dghem/dgwem

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

License #

Apache License 2.0 — © Jean Bodenberg.

1
likes
150
points
89
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

AppDimens diagonal 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_diagonal