Level2CollapseMode enum
Режим сворачивания level2 при повторном тапе по активной фиче.
Values
- remove → const Level2CollapseMode
-
Удаляет level2 из дерева виджетов (поведение по умолчанию).
Уровень полностью убирается из дерева, все соседние уровни пересоздаются. Подходит, если сохранять состояние level3/level4 не нужно.
- hide → const Level2CollapseMode
-
Оставляет level2 в дереве виджетов, но скрывает его (ширина = 0).
Состояние level3/level4 сохраняется. Разделитель между level2 и level3 скрывается автоматически. Drag-resizing остальных уровней работает штатно.
Properties
- 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
Constants
-
values
→ const List<
Level2CollapseMode> - A constant List of the values in this enum, in order of their declaration.