appdimens_percent library
Author & Developer: Jean Bodenberg GIT: https://github.com/bodenberg/appdimens
Library: AppDimens
AppDimens Percent — percentage strategy module of the AppDimens Flutter
family (port of appdimens-dynamic-percent / appdimens-kmp-percent).
Classes
- DimenPercent
-
EN: Percent strategy kernels. The dp/sp curves follow the same linear law
as Scaled (
b × d/300, qualifier-driven) while the space family resolves literal percentages of an axis without any scaling curve. - PercentSpaceMath
-
EN: Literal percentage math shared by the space family (mirrors
PercentSpaceMath).
Enums
- DpQualifier
- Author & Developer: Jean Bodenberg GIT: https://github.com/bodenberg/appdimens
- Inverter
- Author & Developer: Jean Bodenberg GIT: https://github.com/bodenberg/appdimens
- OrientationRequest
-
Builder-facing orientation request used by
DimenScaled-style chains and facilitators (*Rotate). - UiModeType
- Author & Developer: Jean Bodenberg GIT: https://github.com/bodenberg/appdimens
Extensions
- AppDimensPercentDp on num
-
EN: Percent family on num. The dp curve follows the Scaled linear law on
the chosen axis; suffix grammar identical to the whole family:
(none) / a (aspect ratio) / i (ignore multi-window) / ia;
inverters Ph/Lh/Pw/Lw;
…Pxtwins return physical pixels. - AppDimensPercentFacilitators on num
-
EN: Percent facilitators —
psdpRotate,psdpMode,psdpQualifier,psdpScreen, plus logic-only Plain pairs and literal space helpers. - AppDimensPercentSpace on num
-
EN: Literal percentage space helpers (
30.spaceW= 30% of the width).