FoldOptions class
Options controlling how foldText hard-wraps lines.
Grouped into a single object because folding needs more than three knobs while still honoring the project's parameter limit; callers tweak only the fields they care about and rely on the defaults for the rest.
Example:
const FoldOptions(width: 40);
Constructors
- FoldOptions({int width = _kDefaultFoldWidth})
-
Creates fold options with an optional
width(defaults to 78). Audited: 2026-06-12 11:26 EDTconst
Properties
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