CalendarController class

Controller for operating the calendar

カレンダーを操作するためのコントローラー

Inheritance

Constructors

CalendarController({DateTime? initialDay, CalendarMasamuneAdapter? adapter})
Controller for operating the calendar

Properties

adapter CalendarMasamuneAdapter
TAdapter to be used.
no setterinherited
focusedDay DateTime
Sets the date in focus for calendar display.
no setter
hashCode int
The hash code for this object.
no setteroverride
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
initialDay DateTime?
The date selected for the first time.
final
primaryAdapter CalendarMasamuneAdapter
Specifies the default TAdapter if adapter is Null.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedDay DateTime?
Sets the selected date in the calendar.
no setter
value → void
The current value of the object. When the value changes, the callbacks registered with addListener will be invoked.
no setterinherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
override
focus(DateTime dateTime) → void
Focus on dateTime.
next() → void
Displays the calendar for the next month.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
prev() → void
Displays the previous month's calendar.
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
select(DateTime dateTime) → void
Select dateTime.
setValueInternal(void value) → void
Set method is used to update the current state.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

query → const _$CalendarControllerQuery
Query for CalendarController.