AppDimensContext class abstract interface

EN: Platform-neutral window handle. Non-widget APIs take one of these; the Dart port mirrors the Kotlin contract so every calculation is testable without a widget tree.

PT: Handle de janela neutro de plataforma. As APIs fora dos widgets recebem um destes; a porta Dart espelha o contrato Kotlin para que todo cálculo seja testável sem uma árvore de widgets.

Implemented types
Implementers
Available extensions

Properties

configuration ScreenConfiguration
no setterinherited
density double
Logical density (devicePixelRatio), guarded to finite > 0.
no setter
dimenMetrics DimenMetrics
Coherent snapshot derived from configuration.
no setterinherited
fontScale double
System font scale, guarded to finite > 0.
no setter
hashCode int
The hash code for this object.
no setterinherited
isInMultiWindowMode bool
True when the window is known to be inside a multi-window mode.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uiModeType UiModeType
Detected / forced UI-mode type.
no setterinherited
xdpi double
Approximate physical pixels per inch (used by the units module).
no setter

Methods

axisDp(DpQualifier qualifier, Inverter inverter) double

Available on AppDimensContext, provided by the AppDimensContextX extension

Reads the screen dimension for qualifier after applying inverter.
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