ScheduleViewController<T extends Object?> class
abstract
Methods
-
addItem({required ListItem item, required DateTime date, bool isFirst = false})
→ void
-
Add an item to the schedule map of the current page.
-
addItemForPage({required ListItem item, required DateTime date, required int pageIndex, bool isFirst = false})
→ void
-
Add an item to the map.
inherited
-
animateToDate(DateTime date, {Duration? duration, Curve? curve})
→ Future<void>
-
Animate to the date part of the given DateTime.
inherited
-
animateToDateTime(DateTime date, {Duration? pageDuration, Curve? pageCurve, Duration? scrollDuration, Curve? scrollCurve})
→ Future<void>
-
Animate to the date and time parts of the given DateTime.
inherited
-
animateToEvent(CalendarEvent<T> event, {Duration? pageDuration, Curve? pageCurve, Duration? scrollDuration, Curve? scrollCurve, bool centerEvent = true})
→ Future<void>
-
Animate to the given CalendarEvent.
inherited
-
animateToNextPage({Duration? duration, Curve? curve})
→ Future<void>
-
Animate to the next page.
inherited
-
animateToPreviousPage({Duration? duration, Curve? curve})
→ Future<void>
-
Animate to the previous page.
inherited
-
clear()
→ void
-
Clear the schedule map for the current page.
-
clearPage(int pageIndex)
→ void
-
inherited
-
closestIndex(DateTime date)
→ int
-
Get the index closest to the given DateTime of the current page.
-
closestIndexForPage(int pageIndex, DateTime date)
→ int
-
Find the index closest to the given date.
inherited
-
closestMonthIndex(int pageIndex, DateTime date)
→ int
-
Get the month index for the given pageIndex and date.
inherited
-
dateTimeFromIndex(int index)
→ DateTime?
-
Get the DateTime for the given index of the current page.
-
dateTimeFromIndexForPage(int pageIndex, int itemIndex)
→ DateTime?
-
Get the DateTime for the given pageIndex and itemIndex.
inherited
-
dateTimeItemIndex(int pageIndex)
→ DateTimeItemIndex
-
Get the
DateTimeItemIndex for the given pageIndex.
inherited
-
dispose()
→ void
-
override
-
indexFromDateTime(DateTime date)
→ int?
-
Get the index of the item for the given DateTime for the current page.
-
indexFromDateTimeForPage(int pageIndex, DateTime date)
→ int?
-
inherited
-
indexItem(int pageIndex)
→ IndexItem
-
Get the
IndexItem for the given pageIndex.
inherited
-
initialScrollIndex(DateTime date)
→ int
-
Find the initial scroll index for the given date.
-
item(int index)
→ ListItem?
-
Get the item at the given index of the current page.
-
itemCountForPage(int pageIndex)
→ int
-
Get the number of items for the given pageIndex.
inherited
-
itemIndexDateTime(int pageIndex)
→ IndexItemDateTime
-
Get the
IndexItemDateTime for the given pageIndex.
inherited
-
jumpToDate(DateTime date)
→ FutureOr<void>
-
Jump to the given DateTime.
inherited
-
jumpToPage(int page)
→ void
-
Jump to the given DateTime.
inherited
-
monthIndexFromDateTime(int pageIndex, DateTime date)
→ int?
-
Get the month index for the given pageIndex and date.
inherited
-
monthIndices(int pageIndex)
→ DateTimeItemIndex
-
Get the
DateTimeItemIndex for the given pageIndex.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
populateMaps(int numberOfPages)
→ void
-
Populate the maps with the given number of pages.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited