WhitespaceOptions class
Options for rendering whitespace in layout functions.
Used with Layout.place to customize how empty space is filled.
Constructors
- WhitespaceOptions({String chars = ' ', Color? foreground, Color? background})
-
const
Properties
- background → Color?
-
Background color for the whitespace.
final
- chars → String
-
Characters to cycle through when filling whitespace.
final
- foreground → Color?
-
Foreground color for the whitespace characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
render(
int width) → String - Renders whitespace of the given width using these options.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited