material_datepicker/calendar
library
Classes
-
CalendarDay
-
A calendar day.
-
CalendarMonth
-
A calendar month; the basic unit of the scrolling calendar. It has a
localized title ("Mar 2015") and a collection of weeks.
-
CalendarSelection
-
A selected range on the calendar.
-
CalendarState
-
The (immutable) state of selections on the calendar.
-
CalendarWeek
-
A calendar week.
-
CalendarYear
-
A calendar year; the basic unit of the scrolling month grid. It has a
localized title ("2015") and a collection of months.
-
Highlight
-
A highlighted range in a calendar period. There should be one of these
per block of color. E.g. if a week contains only one range, there'll be one
highlight; if it has two ranges, it'll have two highlights if the ranges
don't overlap, or three if they do.
-
MonthRange
-
Lightweight class representing one or more consecutive months.
-
YearRange
-
Lightweight class representing one or more consecutive years.
Enums
-
CalendarResolution
-
A minimum relevant time unit for a calendar.
-
CalendarSelectionMode
-
What sort of selections a calendar supports.
-
CausedBy
-
Describes the interaction state arising directly from the most recent user
action that produced any particular CalendarState.
external
- State arose programmatically / by default / from a user action
outside of the calendar widget itself.
preview
- User is previewing a possible selection change.
drag
- User is dragging on the calendar widget and has not finished yet.
endpointConfirm
- The previous preview has now confirmed a single endpoint
rangeConfirm
- The previous preview/drag is now confirmed/finished.