styled static method
Creates a table with styled headers.
Implementation
static Table styled(
List<String> headers,
List<List<Object?>> rows, {
Style? headerStyle,
style_border.Border? border,
}) {
final table = Table()
..headers(headers)
..rows(rows);
if (headerStyle != null) table.headerStyle(headerStyle);
if (border != null) table.border(border);
return table;
}