cupertino_calendar_picker 2.0.0
cupertino_calendar_picker: ^2.0.0 copied to clipboard
This package includes a suite of Cupertino-style components that make date and time selection seamless and visually consistent with iOS design principles.
2.0.0 #
Major Updates:
- New
showCupertinoTimePickerfunction which can be used for time selection. - New
CupertinoCalendarPickerButtonwidget. - New
CupertinoTimePickerButtonwidget. - New
CupertinoCalendarwidget. Which is now can be used asinlinecalendar. - New
CupertinoCalendarModeparameter withdateanddateTimeoptions, enabling the calendar to select both date and time within the picker.
Minor Updates:
- The
CupertinoCalendarPickerupdates: -
- The
monthDateStyleis 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:
CalendarContainerDecorationhas been renamed toPickerContainerDecoration.CalendarBackgroundTypehas been renamed toPickerBackgroundType.dismissBehaviourhas been renamed todismissBehavior.minimumDatehas been renamed tominimumDateTime.maximumDatehas been renamed tomaximumDateTime.initialDatehas been renamed toinitialDateTime.currentDatehas been renamed tocurrentDateTime.onDateChangedhas been renamed toonDateTimeChanged.
1.1.2 #
- The
CalendarDismissBehaviorenum was added to specify different dismiss behaviors. - The
onDateSelectedparameter was added. - The
showCupertinoCalendarPickerfunction now returns aDateTime. - Fixed an issue where the calendar closed without animation when the Android back button was tapped. (Thanks to @JCKodel)
1.1.1 #
- Fixed an issue where
safeAreatop wasn't considered in the position calculation. - Fixed an issue where
CalendarContainerDecorationwasn't applied to the calendar.
1.1.0 #
- Updates to the
CupertinoCalendarPickerposition calculation:- The calendar will be downscaled if it doesn't fit on a screen.
safeAreais now considered in the calculation.verticalSpacingis now considered in the calculation.- Available space calculation fixes.
- New parameters added to the
showCupertinoCalendarPicker:verticalSpacingto set the minimum space between the edge of the screen and the calendar.barrierColorfor the overlay background color.
- Updates to the
CalendarContainerDecorationclass:- Default
boxShadowhas been updated. CalendarBackgroundTypeenum added withplainColorandtransparentAndBluredvalues.
- Default
- Other improvements:
- The
innerAlignmentof the calendar is alwaystopCenternow. - The selected day will remain after the month/year wheel value change.
- The
1.0.3 #
cupertino_iconsdependency addedwidgetRenderBoxis required nowpubspecscreenshots update
1.0.2 #
- Decoration classes updated (copyWith, documentation)
pubspecupdate
1.0.1 #
READMEfixpubspecupdate
1.0.0 #
- The cupertino calendar package release.