CalendarCarousel<T extends EventInterface> class

Inheritance

Constructors

CalendarCarousel({Key? key, double viewportFraction = 1.0, TextStyle? prevDaysTextStyle, TextStyle? daysTextStyle, TextStyle? nextDaysTextStyle, Color prevMonthDayBorderColor = Colors.transparent, Color thisMonthDayBorderColor = Colors.transparent, Color nextMonthDayBorderColor = Colors.transparent, double dayPadding = 2.0, double height = double.infinity, double width = double.infinity, TextStyle? todayTextStyle, Color dayButtonColor = Colors.transparent, Color todayBorderColor = Colors.red, Color todayButtonColor = Colors.red, DateTime? selectedDateTime, DateTime? targetDateTime, TextStyle? selectedDayTextStyle, Color selectedDayBorderColor = Colors.green, Color selectedDayButtonColor = Colors.green, bool? daysHaveCircularBorder, bool disableDayPressed = false, dynamic onDayPressed(DateTime, List<T>)?, TextStyle? weekdayTextStyle = const TextStyle(), Color iconColor = Colors.blueAccent, TextStyle? headerTextStyle, String? headerText, TextStyle? weekendTextStyle, EventList<T>? markedDatesMap, bool markedDateShowIcon = false, Color? markedDateIconBorderColor, int markedDateIconMaxShown = 2, double markedDateIconMargin = 5.0, double markedDateIconOffset = 5.0, MarkedDateIconBuilder<T>? markedDateIconBuilder, bool? markedDateMoreShowTotal, Decoration? markedDateMoreCustomDecoration, OutlinedBorder? markedDateCustomShapeBorder, TextStyle? markedDateCustomTextStyle, TextStyle? markedDateMoreCustomTextStyle, Widget? markedDateWidget, MultipleMarkedDates? multipleMarkedDates, EdgeInsets headerMargin = const EdgeInsets.symmetric(vertical: 16.0), double childAspectRatio = 1.0, EdgeInsets weekDayMargin = const EdgeInsets.only(bottom: 4.0), EdgeInsets weekDayPadding = const EdgeInsets.all(0.0), Color weekDayBackgroundColor = Colors.transparent, WeekdayBuilder? customWeekDayBuilder, DayBuilder? customDayBuilder, bool showWeekDays = true, bool weekFormat = false, bool showHeader = true, bool showHeaderButton = true, Widget? leftButtonIcon, Widget? rightButtonIcon, ScrollPhysics? customGridViewPhysics, dynamic onCalendarChanged(DateTime)?, String locale = "en", int? firstDayOfWeek, DateTime? minSelectedDate, DateTime? maxSelectedDate, TextStyle? inactiveDaysTextStyle, TextStyle? inactiveWeekendTextStyle, bool headerTitleTouchable = false, Function? onHeaderTitlePressed, Function? onLeftArrowPressed, Function? onRightArrowPressed, WeekdayFormat weekDayFormat = WeekdayFormat.short, bool staticSixWeekFormat = false, bool isScrollable = true, Axis scrollDirection = Axis.horizontal, bool showOnlyCurrentMonthDate = false, bool pageSnapping = false, OnDayLongPressed? onDayLongPressed, CrossAxisAlignment dayCrossAxisAlignment = CrossAxisAlignment.center, MainAxisAlignment dayMainAxisAlignment = MainAxisAlignment.center, bool showIconBehindDayText = false, ScrollPhysics pageScrollPhysics = const ScrollPhysics(), bool shouldShowTransform = true, int maxDot = 5})

Properties

childAspectRatio double
final
customDayBuilder DayBuilder?
final
customGridViewPhysics ScrollPhysics?
final
customWeekDayBuilder WeekdayBuilder?
final
dayButtonColor Color
final
dayCrossAxisAlignment CrossAxisAlignment
final
dayMainAxisAlignment MainAxisAlignment
final
dayPadding double
final
daysHaveCircularBorder bool?
final
daysTextStyle TextStyle?
final
disableDayPressed bool
final
firstDayOfWeek int?
final
hashCode int
The hash code for this object.
no setterinherited
headerMargin EdgeInsets
final
headerText String?
final
headerTextStyle TextStyle?
final
headerTitleTouchable bool
final
height double
final
iconColor Color
final
inactiveDaysTextStyle TextStyle?
final
inactiveWeekendTextStyle TextStyle?
final
isScrollable bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leftButtonIcon Widget?
final
locale String
final
markedDateCustomShapeBorder OutlinedBorder?
Change OutlinedBorder when markedDateShowIcon is set to false.
final
markedDateCustomTextStyle TextStyle?
Change TextStyle when markedDateShowIcon is set to false.
final
markedDateIconBorderColor Color?
final
markedDateIconBuilder MarkedDateIconBuilder<T>?
final
markedDateIconMargin double
final
markedDateIconMaxShown int
final
markedDateIconOffset double
final
markedDateMoreCustomDecoration Decoration?
final
markedDateMoreCustomTextStyle TextStyle?
final
markedDateMoreShowTotal bool?
null - no indicator, true - show the total events, false - show the total of hidden events
final
markedDateShowIcon bool
Icon will overlap the Day widget when markedDateShowIcon is set to true. This will also make below parameters work.
final
markedDatesMap EventList<T>?
final
markedDateWidget Widget?
Change makredDateWidget when markedDateShowIcon is set to false.
final
maxDot int
Maximium number of dots to be shown
final
maxSelectedDate DateTime?
final
minSelectedDate DateTime?
final
multipleMarkedDates MultipleMarkedDates?
final
nextDaysTextStyle TextStyle?
final
nextMonthDayBorderColor Color
final
onCalendarChanged → dynamic Function(DateTime)?
final
onDayLongPressed OnDayLongPressed?
final
onDayPressed → dynamic Function(DateTime, List<T>)?
final
onHeaderTitlePressed Function?
final
onLeftArrowPressed Function?
final
onRightArrowPressed Function?
final
pageScrollPhysics ScrollPhysics
final
pageSnapping bool
final
prevDaysTextStyle TextStyle?
final
prevMonthDayBorderColor Color
final
rightButtonIcon Widget?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollDirection Axis
final
selectedDateTime DateTime?
final
selectedDayBorderColor Color
final
selectedDayButtonColor Color
final
selectedDayTextStyle TextStyle?
final
shouldShowTransform bool
final
showHeader bool
final
showHeaderButton bool
final
showIconBehindDayText bool
final
showOnlyCurrentMonthDate bool
final
showWeekDays bool
final
staticSixWeekFormat bool
final
targetDateTime DateTime?
final
thisMonthDayBorderColor Color
final
todayBorderColor Color
final
todayButtonColor Color
final
todayTextStyle TextStyle?
final
viewportFraction double
final
weekDayBackgroundColor Color
final
weekDayFormat WeekdayFormat
final
weekDayMargin EdgeInsets
final
weekDayPadding EdgeInsets
final
weekdayTextStyle TextStyle?
final
weekendTextStyle TextStyle?
final
weekFormat bool
final
width double
final

Methods

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