koahResolvedLadderDp function
The logical-pixel bound the format ladder would see for one axis — the SDK's
own resolveLadderDp, so a demo readout matches production. parentDp is the
parent's finite max extent on this axis, or null when the parent leaves it
unbounded (e.g. the scroll axis of a scroller). Returns null when nothing
bounds the axis.
Implementation
int? koahResolvedLadderDp(KoahAxisSize? axis, int? parentDp) =>
resolveLadderDp(axis, parentDp?.toDouble());