Skip to content

Releases: philip-soft/cupertino_calendar_picker

v2.0.0+1

25 Aug 11:26
f6d29ed
Compare
Choose a tag to compare
  • README update.

v2.0.0

25 Aug 10:51
d604ebf
Compare
Choose a tag to compare

Major Updates:

  • New showCupertinoTimePicker function which can be used for time selection.
  • New CupertinoCalendarPickerButton widget.
  • New CupertinoTimePickerButton widget.
  • New CupertinoCalendar widget. Which is now can be used as inline calendar.
  • New CupertinoCalendarMode parameter with date and dateTime options, enabling the calendar to select both date and time within the picker.

Minor Updates:

  • The CupertinoCalendarPicker updates:
    • The monthDateStyle is now animated when switching between the month/year picker and month picker modes.
    • Weekdays are now aligned more accurately.
    • The month/year picker mode switching animation has been updated.

Breaking Changes:

  • CalendarContainerDecoration has been renamed to PickerContainerDecoration.
  • CalendarBackgroundType has been renamed to PickerBackgroundType.
  • dismissBehaviour has been renamed to dismissBehavior.
  • minimumDate has been renamed to minimumDateTime.
  • maximumDate has been renamed to maximumDateTime.
  • initialDate has been renamed to initialDateTime.
  • currentDate has been renamed to currentDateTime.
  • onDateChanged has been renamed to onDateTimeChanged.

v1.1.2

06 Jun 19:59
Compare
Choose a tag to compare
  • The CalendarDismissBehavior enum was added to specify different dismiss behaviors.
  • The onDateSelected parameter was added.
  • The showCupertinoCalendarPicker function now returns a DateTime.
  • Fixed an issue where the calendar closed without animation when the Android back button was tapped. (Thanks to @JCKodel)

v1.1.1

12 May 18:17
Compare
Choose a tag to compare
  • Fixed an issue where safeArea top wasn't considered in the position calculation.
  • Fixed an issue where CalendarContainerDecoration wasn't applied to the calendar.

v1.1.0

12 May 14:43
107f0fa
Compare
Choose a tag to compare
  • Updates to the CupertinoCalendarPicker position calculation:
    • The calendar will be downscaled if it doesn't fit on a screen.
    • safeArea is now considered in the calculation.
    • verticalSpacing is now considered in the calculation.
    • Available space calculation fixes.
  • New parameters added to the showCupertinoCalendarPicker:
    • verticalSpacing to set the minimum space between the edge of the screen and the calendar.
    • barrierColor for the overlay background color.
  • Updates to the CalendarContainerDecoration class:
    • Default boxShadow has been updated.
    • CalendarBackgroundType enum added with plainColor and transparentAndBlured values.
  • Other improvements:
    • The innerAlignment of the calendar is always topCenter now.
    • The selected day will remain after the month/year wheel value change.

v1.0.3

05 May 09:06
Compare
Choose a tag to compare
  • cupertino_icons dependency added
  • widgetRenderBox is required now
  • pubspec screenshots update

v1.0.2

05 May 08:48
Compare
Choose a tag to compare
  • Decoration classes updated (copyWith, documentation)
  • pubspec update

v1.0.1

03 May 13:05
Compare
Choose a tag to compare
  • README fix
  • pubspec update

v1.0.0

03 May 13:04
Compare
Choose a tag to compare
  • The cupertino calendar package release.