CalendarBuilders<T> class
Class containing all custom builders for TableCalendar
.
Constructors
- CalendarBuilders({FocusedDayBuilder? todayBuilder, FocusedDayBuilder? selectedBuilder, FocusedDayBuilder? outsideBuilder, FocusedDayBuilder? defaultBuilder, HighlightBuilder? rangeHighlightBuilder, DayBuilder? dowBuilder, DayBuilder? headerTitleBuilder})
-
Creates
CalendarBuilders
forTableCalendar
widget.const
Properties
- defaultBuilder → FocusedDayBuilder?
-
Custom builder for day cells that do not match any other builder.
final
- dowBuilder → DayBuilder?
-
Custom builder for days of the week labels (Mon, Tue, Wed, etc.).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerTitleBuilder → DayBuilder?
-
Use to customize header's title using different widget
final
- outsideBuilder → FocusedDayBuilder?
-
Custom builder for day cells, of which the
day.month
is different thanfocusedDay.month
. This will affect day cells that do not match the currently focused month.final - rangeHighlightBuilder → HighlightBuilder?
-
Custom builder for background highlight of range selection.
If
isWithinRange
is true, thenday
is within the selected range.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedBuilder → FocusedDayBuilder?
-
Custom builder for day cells that are currently marked as selected by
selectedDayPredicate
.final - todayBuilder → FocusedDayBuilder?
-
Custom builder for a day cell that matches the current day.
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