HelpStyles class

Styles for the help view.

Constructors

HelpStyles({String ellipsis = EllipsisChars.horizontal, String shortSeparator = ' ${DotChars.bullet} ', String fullSeparator = ' ', Style? keyStyle, Style? descStyle, Style? sepStyle})
Creates help styles with defaults.

Properties

descStyle → Style
Style for descriptions.
final
ellipsis → String
The ellipsis character for truncated help.
final
fullSeparator → String
Separator for full help columns.
final
hashCode → int
The hash code for this object.
no setterinherited
keyStyle → Style
Style for keys.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sepStyle → Style
Style for separators.
final
shortSeparator → String
Separator for short help items.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderDesc(String text) → String
Renders styled description text.
renderKey(String text) → String
Renders styled key text.
renderSep(String text) → String
Renders styled separator.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited