Calendar class

Inheritance

Constructors

Calendar(DateTime dateTime)
Calendar.now()
factory

Properties

borderColor ConsoleColor?
The color to be used for rendering the table border.
getter/setter pairinherited
borderStyle BorderStyle
Which line drawing characters are used to display boxes.
getter/setter pairinherited
borderType BorderType
Whether line separators should be drawn between rows and columns, and whether the table should include a border.
getter/setter pairinherited
calendarDate DateTime
final
columns int
Returns the number of columns in the table.
no setterinherited
dayLabels List<String>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headerColor ConsoleColor?
The color to be used for rendering the header row.
getter/setter pairinherited
headerStyle FontStyle
The font formatting for the header row.
getter/setter pairinherited
highlightTodaysDate bool
getter/setter pair
rows int
Returns the number of rows in the table, excluding the header row.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showHeader bool
getter/setter pairinherited
title String
A title to be displayed above the table.
getter/setter pairinherited
titleStyle FontStyle
The font formatting for the title.
getter/setter pairinherited

Methods

deleteColumn(int index) → void
Removes the column with given index.
inherited
deleteRow(int index) → void
Removes the row with given index.
inherited
insertColumn({String header = '', TextAlignment alignment = TextAlignment.left, int width = 0, int? index}) → void
Insert a new column into the table.
inherited
insertRow(List<Object> row, {int? index}) → void
Adds a new row to the table.
inherited
insertRows(List<List<Object>> rows) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render({bool plainText = false}) String
Renders the table as a string, for printing or further manipulation.
inherited
setColumnFormatting(int column, {String? header, TextAlignment? alignment, int? width}) → void
Adjusts the formatting for a given column.
inherited
toString() String
A string representation of this object.
inherited

Operators

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