HorizontalCalendar class

Inheritance

Constructors

HorizontalCalendar({Key key, double height: 100, @required DateTime firstDate, @required DateTime lastDate, ScrollController scrollController, DateSelectionCallBack onDateSelected, DateSelectionCallBack onDateLongTap, DateSelectionCallBack onDateUnSelected, VoidCallback onMaxDateSelectionReached, int minSelectedDateCount: 0, int maxSelectedDateCount: 1, TextStyle monthTextStyle, TextStyle selectedMonthTextStyle, String monthFormat, TextStyle dateTextStyle, TextStyle selectedDateTextStyle, String dateFormat, TextStyle weekDayTextStyle, TextStyle selectedWeekDayTextStyle, String weekDayFormat, Decoration defaultDecoration, Decoration selectedDecoration, Decoration disabledDecoration, DateBuilder isDateDisabled, List<DateTime> initialSelectedDates: const [], double spacingBetweenDates: 8.0, EdgeInsetsGeometry padding: const EdgeInsets.all(8.0), List<LabelType> labelOrder: const [LabelType.month, LabelType.date, LabelType.weekday], bool isLabelUppercase: false})

Properties

dateFormat String
final
dateTextStyle TextStyle
final
defaultDecoration Decoration
final
disabledDecoration Decoration
final
firstDate DateTime
final
hashCode int
The hash code for this object. [...]
@nonVirtual, read-only, inherited
height double
final
initialSelectedDates List<DateTime>
final
isDateDisabled DateBuilder
final
isLabelUppercase bool
final
key Key
Controls how one widget replaces another widget in the tree. [...]
final, inherited
labelOrder List<LabelType>
final
lastDate DateTime
final
maxSelectedDateCount int
final
minSelectedDateCount int
final
monthFormat String
final
monthTextStyle TextStyle
final
onDateLongTap DateSelectionCallBack
final
onDateSelected DateSelectionCallBack
final
onDateUnSelected DateSelectionCallBack
final
onMaxDateSelectionReached VoidCallback
final
padding EdgeInsetsGeometry
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scrollController ScrollController
final
selectedDateTextStyle TextStyle
final
selectedDecoration Decoration
final
selectedMonthTextStyle TextStyle
final
selectedWeekDayTextStyle TextStyle
final
spacingBetweenDates double
final
weekDayFormat String
final
weekDayTextStyle TextStyle
final

Methods

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