TimetableThemeData class

Defines visual properties for Timetable and related widgets.

Constructors

TimetableThemeData({Color primaryColor, Decoration weekIndicatorDecoration, TextStyle weekIndicatorTextStyle, double totalDateIndicatorHeight, MaterialStateProperty<LocalDatePattern> weekDayIndicatorPattern, MaterialStateProperty<Decoration> weekDayIndicatorDecoration, MaterialStateProperty<TextStyle> weekDayIndicatorTextStyle, MaterialStateProperty<LocalDatePattern> dateIndicatorPattern, MaterialStateProperty<Decoration> dateIndicatorDecoration, MaterialStateProperty<TextStyle> dateIndicatorTextStyle, double allDayEventHeight, TextStyle hourTextStyle, Color timeIndicatorColor, Color dividerColor, double minimumHourHeight, double maximumHourHeight, double minimumHourZoom, double maximumHourZoom, Period partDayEventMinimumDuration, double partDayEventMinimumHeight, double partDayEventSpacing, bool enablePartDayEventStacking, Period partDayEventMinimumDeltaForStacking, double partDayStackedEventSpacing})
const

Properties

allDayEventHeight double
Height of a single all-day event. [...]
final
dateIndicatorDecoration MaterialStateProperty<Decoration>
Decoration to show around the date (of month) indicator. [...]
final
dateIndicatorPattern MaterialStateProperty<LocalDatePattern>
LocalDatePattern for formatting the date (of month). [...]
final
dateIndicatorTextStyle MaterialStateProperty<TextStyle>
TextStyle used to display the date (of month). [...]
final
dividerColor Color
Color for painting hour and day dividers in the part-day event area.
final
enablePartDayEventStacking bool
Controls whether overlapping events may be stacked on top of each other. [...]
final
hashCode int
The hash code for this object. [...]
read-only, override
hourTextStyle TextStyle
TextStyle used to display the hours of the day.
final
maximumHourHeight double
Maximum height of a single hour when zooming in. [...]
final
maximumHourZoom double
Maximum time zoom factor. [...]
final
minimumHourHeight double
Minimum height of a single hour when zooming in. [...]
final
minimumHourZoom double
Minimum time zoom factor. [...]
final
partDayEventMinimumDeltaForStacking Period
When the start values of two events differ by at least this value, they may be stacked on top of each other. [...]
final
partDayEventMinimumDuration Period
Minimum Period to size a part-day event. [...]
final
partDayEventMinimumHeight double
Minimum height to size a part-day event. [...]
final
partDayEventSpacing double
Horizontal space between two parallel events shown next to each other.
final
partDayStackedEventSpacing double
Horizontal space between two parallel events stacked on top of each other.
final
primaryColor Color
Used by default for indicating the current date. [...]
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
timeIndicatorColor Color
Color for painting the current time indicator.
final
totalDateIndicatorHeight double
Total (combined) height of both the day-of-week- and date-of-month-indicators. [...]
@experimental, final
weekDayIndicatorDecoration MaterialStateProperty<Decoration>
Decoration to show around the day-of-week-indicator. [...]
final
weekDayIndicatorPattern MaterialStateProperty<LocalDatePattern>
LocalDatePattern for formatting the day-of-week. [...]
final
weekDayIndicatorTextStyle MaterialStateProperty<TextStyle>
TextStyle used to display the day of week. [...]
final
weekIndicatorDecoration Decoration
Decoration to show around the week indicator.
final
weekIndicatorTextStyle TextStyle
TextStyle used to display the current week number.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
override