UiModeType enum

Author & Developer: Jean Bodenberg GIT: https://github.com/bodenberg/appdimens

Library: AppDimens

Device UI-mode type used by facilitators (*Mode, *Screen) and builders.

Inheritance
Available extensions

Values

undefined → const UiModeType

EN Undefined / not resolved. PT Indefinido / não resolvido.

const UiModeType(0)
normal → const UiModeType

EN Normal phone / tablet / desktop UI. PT UI normal de telefone / tablet / desktop.

const UiModeType(1)
television → const UiModeType

EN Television. PT Televisão.

const UiModeType(2)
car → const UiModeType

EN Car system. PT Sistema automotivo.

const UiModeType(3)
watch → const UiModeType

EN Watch / wearable. PT Relógio / wearable.

const UiModeType(4)
appliance → const UiModeType

EN Appliance (IoT panel, kiosk). PT Eletrodoméstico (painel IoT, quiosque).

const UiModeType(6)
vrHeadset → const UiModeType

EN VR headset. PT Headset de realidade virtual.

const UiModeType(7)
foldOpen → const UiModeType

EN Foldable with the hinge open (large inner display active). PT Dobrável com a dobra aberta (tela interna grande ativa).

const UiModeType(-101)
foldClosed → const UiModeType

EN Foldable with the hinge closed (cover display active). PT Dobrável com a dobra fechada (tela externa ativa).

const UiModeType(-102)
flipOpen → const UiModeType

EN Flip-style device opened. PT Dispositivo flip aberto.

const UiModeType(-103)
flipClosed → const UiModeType

EN Flip-style device closed. PT Dispositivo flip fechado.

const UiModeType(-104)
foldHalfOpened → const UiModeType

EN Foldable half-opened (laptop / tent posture). PT Dobrável meio aberto (postura laptop / tenda).

const UiModeType(-105)
flipHalfOpened → const UiModeType

EN Flip device half-opened. PT Dispositivo flip meio aberto.

const UiModeType(-106)

Properties

configValue int
Raw configuration value (mirrors the Android/KMP contract).
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

fromConfigurationValue(int value) UiModeType
Resolves a raw configuration value; unknown values fall back to normal.

Constants

values → const List<UiModeType>
A constant List of the values in this enum, in order of their declaration.