TextTableWidget class
Text table rendering widget.
Commands will typically not use this directly, see FormattedTableWidget instead.
- Inheritance
-
- Object
- OutputWidget
- TextTableWidget
Constructors
-
TextTableWidget(TextTableData content, {List<
int?> ? columnMinWidths, String? columnSeparator, String? headerDividerColumnSeparator, String? indent, List<AnsiStyle?> ? columnStyles}) -
const
Properties
-
columnMinWidths
→ List<
int?> ? -
final
- columnSeparator → String?
-
final
-
columnStyles
→ List<
AnsiStyle?> ? -
The style to apply to each column's cells, by column index.
A null entry, or a column beyond the list, is left unstyled.
final
- content → TextTableData
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerDividerColumnSeparator → String?
-
final
- indent → String?
-
Prefixed to every printed line.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
OutputContext context) → OutputWidget -
Builds this widget using the output context.
inherited
-
buildTree(
OutputContext context) → WidgetNode -
Builds the tree of widgets below this one.
This is not usually to be overridden by subclasses.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
{required CommandLogger logger}) → void -
Renders this widget using the given IO facade.
override
-
renderAsync(
{required CommandLogger logger}) → Future< void> -
Renders this widget, awaiting stream or other async output.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited