Skip to content

Releases: pongloongyeat/calendar_components

0.1.0

27 Apr 19:18
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release

0.1.0

Features

  • CalendarComponentDayGrid (and all other grid-based components) now passes its index in its itemBuilder to allow for more powerful customisation/handling of UI.
  • CalendarComponentDayGrid (and all other grid-based components) now has exactly two constructors: a .overflow and noOverflow to handle overflowing weeks more easily.
  • The .single and .multiple constructors have been removed from CalendarComponentSelectableDayGrid in favour of .overflow and .noOverflow. Because of this, single and multiple selection is now separated into two widgets: CalendarComponentSingleSelectableDayGrid and CalendarComponentMultipleSelectableDayGrid.
  • RangedSelectionState has been renamed to SelectedDateRangeState and selectedEnd 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

25 Apr 17:46
Compare
Choose a tag to compare
0.0.1 Pre-release
Pre-release

Initial pre-release