Releases: philip-soft/cupertino_calendar_picker
Releases · philip-soft/cupertino_calendar_picker
v2.0.0+1
v2.0.0
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 asinline
calendar. - New
CupertinoCalendarMode
parameter withdate
anddateTime
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.
- The
-
- Weekdays are now aligned more accurately.
-
- The month/year picker mode switching animation has been updated.
Breaking Changes:
CalendarContainerDecoration
has been renamed toPickerContainerDecoration
.CalendarBackgroundType
has been renamed toPickerBackgroundType
.dismissBehaviour
has been renamed todismissBehavior
.minimumDate
has been renamed tominimumDateTime
.maximumDate
has been renamed tomaximumDateTime
.initialDate
has been renamed toinitialDateTime
.currentDate
has been renamed tocurrentDateTime
.onDateChanged
has been renamed toonDateTimeChanged
.
v1.1.2
- The
CalendarDismissBehavior
enum was added to specify different dismiss behaviors. - The
onDateSelected
parameter was added. - The
showCupertinoCalendarPicker
function now returns aDateTime
. - Fixed an issue where the calendar closed without animation when the Android back button was tapped. (Thanks to @JCKodel)
v1.1.1
- 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
- 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 withplainColor
andtransparentAndBlured
values.
- Default
- Other improvements:
- The
innerAlignment
of the calendar is alwaystopCenter
now. - The selected day will remain after the month/year wheel value change.
- The
v1.0.3
cupertino_icons
dependency addedwidgetRenderBox
is required nowpubspec
screenshots update
v1.0.2
- Decoration classes updated (copyWith, documentation)
pubspec
update
v1.0.1
- README fix
pubspec
update
v1.0.0
- The cupertino calendar package release.