TableCalendarBaseCustomize class

Inheritance

Constructors

TableCalendarBaseCustomize({Key? key, required DateTime firstDay, required DateTime lastDay, required DateTime focusedDay, CalendarFormat calendarFormat = CalendarFormat.month, CalendarTypeMode calendarTypeMode = CalendarTypeMode.day, DayBuilder? dowBuilder, required FocusedDayBuilder dayBuilder, required FocusedDayBuilder yearBuilder, double? dowHeight, required double rowHeight, bool sixWeekMonthsEnforced = false, bool dowVisible = true, bool dividerVisible = true, DayBuilder? weekNumberBuilder, bool weekNumbersVisible = false, Decoration? dowDecoration, Decoration? rowDecoration, TableBorder? tableBorder, EdgeInsets? tablePadding, Duration formatAnimationDuration = const Duration(milliseconds: 200), Curve formatAnimationCurve = Curves.linear, bool pageAnimationEnabled = true, Duration pageAnimationDuration = const Duration(milliseconds: 300), Curve pageAnimationCurve = Curves.easeOut, StartingDayOfWeek startingDayOfWeek = StartingDayOfWeek.sunday, AvailableGestures availableGestures = AvailableGestures.all, SimpleSwipeConfig simpleSwipeConfig = const SimpleSwipeConfig(verticalThreshold: 25.0, swipeDetectionBehavior: SwipeDetectionBehavior.continuousDistinct), Map<CalendarFormat, String> availableCalendarFormats = const {CalendarFormat.month : 'Month', CalendarFormat.twoWeeks : '2 weeks', CalendarFormat.week : 'Week'}, Map<CalendarTypeMode, String> availableCalendarTypeModes = const {CalendarTypeMode.day : 'Day', CalendarTypeMode.year : 'Year'}, SwipeCallback? onVerticalSwipe, void onPageChanged(DateTime focusedDay)?, void onCalendarCreated(PageController pageController)?, void onDragEnd(CalendarFormat format)?, void onTapItemTypeModeYear(int year)?})

Properties

availableCalendarFormats → Map<CalendarFormat, String>
final
availableCalendarTypeModes → Map<CalendarTypeMode, String>
final
availableGestures → AvailableGestures
final
calendarFormat → CalendarFormat
final
calendarTypeMode → CalendarTypeMode
final
dayBuilder → FocusedDayBuilder
final
dividerVisible → bool
final
dowBuilder → DayBuilder?
final
dowDecoration → Decoration?
final
dowHeight → double?
final
dowVisible → bool
final
firstDay → DateTime
final
focusedDay → DateTime
final
formatAnimationCurve → Curve
final
formatAnimationDuration → Duration
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lastDay → DateTime
final
onCalendarCreated → void Function(PageController pageController)?
final
onDragEnd → void Function(CalendarFormat format)?
final
onPageChanged → void Function(DateTime focusedDay)?
final
onTapItemTypeModeYear → void Function(int year)?
final
onVerticalSwipe → SwipeCallback?
final
pageAnimationCurve → Curve
final
pageAnimationDuration → Duration
final
pageAnimationEnabled → bool
final
rowDecoration → Decoration?
final
rowHeight → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
simpleSwipeConfig → SimpleSwipeConfig
final
sixWeekMonthsEnforced → bool
final
startingDayOfWeek → StartingDayOfWeek
final
tableBorder → TableBorder?
final
tablePadding → EdgeInsets?
final
weekNumberBuilder → DayBuilder?
final
weekNumbersVisible → bool
final
yearBuilder → FocusedDayBuilder
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _TableCalendarBaseCustomizeState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

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