Calendar class Null safety

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 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
read / write
bottomSelectedBorderColor Color
read / write
calendarSize double
read / write
cancelBtnLabel String
read / write
cancelFontColor Color
read / write
closeCalendar Function
read / write
datePickerIconPosition Offset?
read / write
datesRange DatesRange
read / write
disabledList List<DateTime>?
read / write
disabledRangeList List<Map<String, DateTime?>>?
read / write
format String
read / write
fullSize Size
read / write
getSelectedItems Function
read / write
hashCode int
The hash code for this object. [...]
@nonVirtual, read-only, inherited
headerColor Color
read / write
iconSize double
read / write
isDark bool
read / write
isIcon bool
read / write
isRange bool
read / write
isYearMonthDropdownReverse bool
read / write
key Key?
Controls how one widget replaces another widget in the tree. [...]
read / write, override-getter
limitCount int
read / write
maxMonthDropdownWidth double
read / write
monthLabelList List
read / write
okBtnLabel String
read / write
okButtonColor LinearGradient
read / write
onSelected Function
read / write
parentBuildContext BuildContext
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
selectedBetweenAreaColor Color
read / write
selectedCircleColor Color
read / write
selectedItems List<DateTime>?
read / write
selectedRangeItem Map<String, DateTime?>?
read / write
weekLabelList List
read / write
years List<Map>
read / write

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. [...]
@protected, inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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. [...]
@nonVirtual, inherited