TextEffect enum
Terminal-specific text effects not available in Flutter.
These effects leverage terminal-specific capabilities that are not part of standard GUI text rendering. Use these for terminal-specific UI elements like highlighting, alerts, or drawing attention.
Values
- none → const TextEffect
-
No special effect applied Maps to: No OpenTUI attributes (0)
- blink → const TextEffect
-
Text blinks/flashes periodically (if terminal supports it) Maps to: OpenTUI Attr.blink (1 << 4) Note: Some modern terminals disable blinking for accessibility
- reverse → const TextEffect
-
Swap foreground and background colors (reverse video) Maps to: OpenTUI Attr.reverse (1 << 5) Useful for selection highlighting and emphasized text
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<
TextEffect> - A constant List of the values in this enum, in order of their declaration.