calendar_components 0.1.0
calendar_components: ^0.1.0 copied to clipboard
A collection of basic composable components for creating calendars.
0.1.0 #
Features #
CalendarComponentDayGrid
(and all other grid-based components) now passes its index in itsitemBuilder
to allow for more powerful customisation/handling of UI.CalendarComponentDayGrid
(and all other grid-based components) now has exactly two constructors: a.overflow
andnoOverflow
to handle overflowing weeks more easily.- The
.single
and.multiple
constructors have been removed fromCalendarComponentSelectableDayGrid
in favour of.overflow
and.noOverflow
. Because of this, single and multiple selection is now separated into two widgets:CalendarComponentSingleSelectableDayGrid
andCalendarComponentMultipleSelectableDayGrid
. RangedSelectionState
has been renamed toSelectedDateRangeState
andselectedEnd
has been removed.- Certain useful
DateTime
extensions have been exported out to the library.
Documentation #
- Added documentation for relevant classes.
Workflow #
- Added CI.
Tests #
- Updated tests to match current API.
Others #
- Update example to use the ranged day grid.
0.0.1 #
- Initial pre-release