DaysOfWeekStyle class
Class containing styling for TableCalendar's days of week panel.
Constructors
- DaysOfWeekStyle({TextFormatter? dowTextFormatter, Decoration decoration = const BoxDecoration(), TextStyle weekdayStyle = const TextStyle(color: Color(0xFF4F4F4F)), TextStyle weekendStyle = const TextStyle(color: Color(0xFF6A6A6A))})
-
Creates a
DaysOfWeekStyleused byTableCalendarwidget.const
Properties
- decoration → Decoration
-
Decoration for the top row of the table
final
- dowTextFormatter → TextFormatter?
-
Use to customize days of week panel text (e.g. with different
DateFormat). You can useStringtransformations to further customize the text. Defaults to simple'E'format (i.e. Mon, Tue, Wed, etc.).final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- weekdayStyle → TextStyle
-
Style for weekdays on the top of calendar.
final
- weekendStyle → TextStyle
-
Style for weekend days on the top of calendar.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited