DatePickerController class

controller for scrolling the HorizontalDatePickerWidget

Constructors

DatePickerController.new()

Properties

endDate DateTime?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
itemWidth double
padding + width of Item
getter/setter pair
realStartDate DateTime?
the real starting date = the appended header disabled date (index=0)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollController ScrollController?
FIELD: basically for internal use, if no need to customize as own picker, the following should have no need to modify
getter/setter pair
selectedDate DateTime?
getter/setter pair
shift double
getter/setter pair
startDate DateTime?
getter/setter pair

Methods

isWithinRange(DateTime dateTime) bool
check date within the start and end date range
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scrollTo(DateTime dateTime, [bool isEnableAnimation = true]) → void
scroll to specific date's position isEnableAnimation default set as true, jump with animation
scrollToSelectedItem([bool isEnableAnimation = true]) → void
scroll to current selected date's position isEnableAnimation default set as true, jump with animation
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited