AdvancedCalendar class

Advanced Calendar widget.

Inheritance

Constructors

AdvancedCalendar({Key? key, AdvancedCalendarController? controller, int? startWeekDay, List<DateTime>? events, double weekLineHeight = 32.0, int preloadMonthViewAmount = 13, int preloadWeekViewAmount = 21, int weeksInMonthViewAmount = 6, TextStyle? todayStyle, TextStyle? headerStyle, dynamic onHorizontalDrag(DateTime)?, bool innerDot = false, bool keepLineSize = false, TextStyle? calendarTextStyle})
const

Properties

calendarTextStyle TextStyle?
Text style for dates in calendar
final
controller AdvancedCalendarController?
Calendar selection date controller.
final
events List<DateTime>?
List of points for the week and month
final
hashCode int
The hash code for this object.
no setterinherited
headerStyle TextStyle?
Style of headers date
final
innerDot bool
Show DateBox event in container.
final
keepLineSize bool
Keeps consistent line size for dates Can't be used without innerDot
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onHorizontalDrag → (dynamic Function(DateTime)?)
Executes on horizontal calendar swipe. Allows to load additional dates.
final
preloadMonthViewAmount int
Amount of months in month view to preload.
final
preloadWeekViewAmount int
Amount of weeks in week view to preload.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startWeekDay int?
The first day of the week starts0-6
final
todayStyle TextStyle?
Style of Today button
final
weekLineHeight double
Height of week line.
final
weeksInMonthViewAmount int
Weeks lines amount in month view.
final

Methods

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