TableFactory extension

Factory methods for common table styles.

on

Static Methods

ascii(List<String> headers, List<List<Object?>> rows) Table

Available on Table, provided by the TableFactory extension

Creates an ASCII-compatible table.
doubleBorder(List<String> headers, List<List<Object?>> rows) Table

Available on Table, provided by the TableFactory extension

Creates a table with double borders.
fromData(List<String> headers, List<List<Object?>> rows) Table

Available on Table, provided by the TableFactory extension

Creates a simple table from headers and rows.
rounded(List<String> headers, List<List<Object?>> rows) Table

Available on Table, provided by the TableFactory extension

Creates a table with rounded borders.
styled(List<String> headers, List<List<Object?>> rows, {Style? headerStyle, Border? border}) Table

Available on Table, provided by the TableFactory extension

Creates a table with styled headers.
withStatusColumn(List<String> headers, List<List<Object?>> rows, {int statusColumn = -1, Map<String, Color>? statusColors}) Table

Available on Table, provided by the TableFactory extension

Creates a table with status column styling.