EventCalendar class

Inheritance

Constructors

EventCalendar({GlobalKey<State<StatefulWidget>>? key, List<Event>? events, CalendarDateTime? dateTime, Widget? middleWidget(CalendarDateTime)?, CalendarOptions? calendarOptions, DayOptions? dayOptions, EventOptions? eventOptions, HeaderOptions? headerOptions, bool showLoadingForEvent = false, List<CalendarDateTime> specialDays = const [], CalendarChangeCallback? onChangeDateTime, CalendarChangeCallback? onMonthChanged, CalendarChangeCallback? onDateTimeReset, VoidCallback? onInit, CalendarChangeCallback? onYearChanged, ViewTypeChangeCallback? onChangeViewType, required dynamic calendarType, dynamic calendarLanguage, bool showEvents = true})

Properties

calendarOptions CalendarOptions?
getter/setter pair
dayOptions DayOptions?
getter/setter pair
eventOptions EventOptions?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headerOptions HeaderOptions?
getter/setter pair
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
middleWidget ↔ (Widget? Function(CalendarDateTime)?)
getter/setter pair
onChangeDateTime CalendarChangeCallback?
getter/setter pair
onChangeViewType ↔ ViewTypeChangeCallback?
getter/setter pair
onDateTimeReset CalendarChangeCallback?
getter/setter pair
onInit VoidCallback?
getter/setter pair
onMonthChanged CalendarChangeCallback?
getter/setter pair
onYearChanged CalendarChangeCallback?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showEvents bool
getter/setter pair
showLoadingForEvent bool
getter/setter pair
specialDays List<CalendarDateTime>
getter/setter pair

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _EventCalendarState
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}) 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

Static Properties

calendarLanguage String
getter/setter pair
calendarProvider ↔ CalendarProvider
getter/setter pair
calendarType CalendarType
getter/setter pair
dateTime CalendarDateTime?
getter/setter pair
events List<Event>
getter/setter pair
selectedEvents List<Event>
getter/setter pair

Static Methods

init({required CalendarType calendarType, CalendarDateTime? dateTime, String? calendarLanguage}) → void