LineWrap enum Screen Manipulation
- Inheritance
- Implemented types
- Available extensions
Values
- enable → const LineWrap
-
Enables line wrapping.
When line wrapping is enabled, text that reaches the right edge of the screen will wrap to the next line. The cursor will move to the next line when it reaches the right edge of the screen.
This is the default behavior.
const LineWrap('h')
- disable → const LineWrap
-
Disables line wrapping.
When line wrapping is disabled, text that reaches the right edge of the screen will not wrap to the next line. The cursor will remain at the right edge of the screen.
This is useful for terminals that do not support line wrapping.
Note
Disabling line wrapping may cause text to be truncated if it reaches the right edge of the screen.
const LineWrap('l')
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
-
toAnsiString(
) → String -
Available on Sequence, provided by the ToAnsiString extension
Returns the sequence as an escaped ANSI string. -
toString(
) → String -
A string representation of this object.
inherited
-
writeAnsiString(
StringSink out) → void -
Write as a UTF-16 ANSI escaped string to the given StringSink.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited