Calendar class

Inheritance

Constructors

Calendar({required int limitCount, required BuildContext parentBuildContext, required Function closeCalendar, required Size fullSize, bool isIcon = false, required double iconSize, required double calendarSize, Offset? datePickerIconPosition, required String format, required bool isRange, List<DateTime>? disabledList, List<Map<String, DateTime?>>? disabledRangeList, required List<Map> years, required Function onSelected, required Function getSelectedItems, List<DateTime>? selectedItems = const [], Map<String, DateTime?>? selectedRangeItem, required List weekLabelList, required List monthLabelList, Key? key, required bool isYearMonthDropdownReverse, required int firstWeekDay, required Color headerColor, required Color arrowIconAreaColor, required Color selectedCircleColor, required Color selectedBetweenAreaColor, required Color cancelFontColor, required LinearGradient okButtonColor, required Color bottomSelectedBorderColor, required bool isDark, required String cancelBtnLabel, required String okBtnLabel})

Properties

arrowIconAreaColor Color
getter/setter pair
bottomSelectedBorderColor Color
getter/setter pair
calendarSize double
getter/setter pair
cancelBtnLabel String
getter/setter pair
cancelFontColor Color
getter/setter pair
closeCalendar Function
getter/setter pair
datePickerIconPosition Offset?
getter/setter pair
datesRange DatesRange
getter/setter pair
disabledList List<DateTime>?
getter/setter pair
disabledRangeList List<Map<String, DateTime?>>?
getter/setter pair
firstWeekDay int
getter/setter pair
format String
getter/setter pair
fullSize Size
getter/setter pair
getSelectedItems Function
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headerColor Color
getter/setter pair
iconSize double
getter/setter pair
isDark bool
getter/setter pair
isIcon bool
getter/setter pair
isRange bool
getter/setter pair
isYearMonthDropdownReverse bool
getter/setter pair
key Key?
Controls how one widget replaces another widget in the tree.
getter/setter pairoverride-getter
limitCount int
getter/setter pair
maxMonthDropdownWidth double
getter/setter pair
monthLabelList List
getter/setter pair
okBtnLabel String
getter/setter pair
okButtonColor LinearGradient
getter/setter pair
onSelected Function
getter/setter pair
parentBuildContext BuildContext
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedBetweenAreaColor Color
getter/setter pair
selectedCircleColor Color
getter/setter pair
selectedItems List<DateTime>?
getter/setter pair
selectedRangeItem Map<String, DateTime?>?
getter/setter pair
weekLabelList List
getter/setter pair
years List<Map>
getter/setter pair

Methods

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