StatusLineConfig class final
The parsed tui.statusLine: section. preset selects one of the 7
presets; left:/right: override the segment groups (implying the
custom base when preset is absent); separator, segmentOptions
and transparent override the rest. Unknown segment ids are ACCEPTED
here and warned+dropped at resolveStatusLineSpec — parse resolves
structure, resolution resolves names (the tools:-scopes split).
Constructors
-
StatusLineConfig({String? preset, List<
String> ? left, List<String> ? right, StatusLineSeparatorStyle? separator, StatusLineSegmentOptions? segmentOptions, bool transparent = false}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
left
→ List<
String> ? -
final
- preset → String?
-
final
-
right
→ List<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- segmentOptions → StatusLineSegmentOptions?
-
final
- separator → StatusLineSeparatorStyle?
-
final
- transparent → bool
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toYaml(
) → String -
The
tui.statusLine:yaml block for the config round-trip; empty when nothing is configured (defaults are never written).
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited