DimenSdp class abstract final

EN: Static facade mirroring the Kotlin object DimenSdp code API — handy for non-extension call sites and for Java-like usage.

PT: Fachada estática espelhando o object DimenSdp do Kotlin — útil fora de pontos de chamada por extensão.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getDimensionInDp(AppDimensContext context, DpQualifier qualifier, num value, {Inverter inverter = Inverter.standard, bool ignoreMultiWindows = false, bool applyAspectRatio = false, double? customSensitivityK}) double
Generic scaling entry returning logical dp (mirrors getDimensionInDp).
getDimensionInPx(AppDimensContext context, DpQualifier qualifier, num value, {Inverter inverter = Inverter.standard, bool ignoreMultiWindows = false, bool applyAspectRatio = false, double? customSensitivityK}) double
Generic scaling entry (mirrors getDimensionInPx).
hdp(AppDimensContext context, num value) double
scaled(num value) DimenScaled
Starts the DimenScaled builder chain from value.
sdp(AppDimensContext context, num value) double
sdpa(AppDimensContext context, num value) double
sdpi(AppDimensContext context, num value) double
sdpia(AppDimensContext context, num value) double
warmupCache(AppDimensContext context) → void
Warm-up: publishes context as fallback metrics eagerly so the first hot-path frame pays no lazy initialization.
wdp(AppDimensContext context, num value) double