horizontal_date_range_picker 1.7.6
horizontal_date_range_picker: ^1.7.6 copied to clipboard
A horizontally-scrollable date picker widget with single date and date range selection modes.
1.7.6 #
- Fixed
PageControllerassertion error when selecting a month in the month picker. - Added bottom sheet example button to the example app.
1.7.5 #
onDateSelectednow fires inSelectionMode.rangewhen the first date (range start) is tapped, instead of waiting for the range to complete. This lets consumers react immediately to the start selection.
1.7.4 #
- Fixed 12 pre-existing test failures: date-sensitive tests now use
initialPagefor determinism, weekday label tests updated to testWeekdayLabelsRowdirectly.
1.7.3 #
- Fixed
PageController is not attachederror when opening the month picker.
1.7.2 #
- Month picker cells no longer show a splash/ripple effect on tap.
- Swiping left/right on the month picker grid now navigates between years.
1.7.1 #
- Added
weekdayFormattoDatePickerStylefor customizing weekday labels (e.g.'EEEE'for full names,'EEEEE'for single letters).
1.7.0 #
- Fixed month picker grid only showing 6 months — now all 12 months fit in a 4×3 grid.
- Added
headerDateFormattoDatePickerStylefor customizing the header format (default:'MMMM yyyy'). - Added
monthPickerFormattoDatePickerStylefor customizing month cell labels (default:'MMM').
1.6.2 #
- Month names now start with a capital letter in both the header and month picker grid.
1.6.1 #
- Added
enableMonthPickerproperty (default:true) toHorizontalDateRangePickerandDatePickerNavigator. Set tofalseto disable the header tap-to-pick-month behavior.
1.6.0 #
- Tap the month/year header to open a month picker grid (4×3 layout showing all 12 months).
- In month picker mode, arrows and swipe navigate between years.
- Tapping a month jumps to that month's day grid. Tapping the header again cancels.
- Months outside the min/max date range are disabled.
1.5.0 #
- Added
selectedIndicatorSizetoDatePickerStylefor controlling the diameter of the selected date indicator. - Added
cellHeighttoDatePickerStylefor controlling the height of each day cell (default: square cells).
1.4.1 #
- Deprecated
rangeSelectionBackgroundin favor ofrangeStripColor. The old property still works as a fallback. - Updated example app and README to use
rangeStripColor.
1.4.0 #
- Range strip on the first selected date now covers only the right half of the cell; on the last selected date, only the left half. Creates a cleaner start/end appearance with the circle sitting at the edge of the strip.
1.3.2 #
- Fixed range strip rendering as disconnected per-cell backgrounds instead of one continuous band.
1.3.1 #
- InkWell splash shape now matches the
selectedIndicatorShape(circle, rounded rectangle, or square).
1.3.0 #
- Range strip now renders continuously from start to end date, including behind the selected circles.
- Added
rangeStripColorproperty toDatePickerStylefor customizing the strip color (with opacity viaColor.withOpacity). - Added
rangeStripHeightproperty toDatePickerStylefor controlling the strip's vertical thickness.
1.2.0 #
- Added
previousMonthIconandnextMonthIconproperties toDatePickerStylefor custom navigation button icons.
1.1.0 #
- Widget now self-sizes and no longer requires a parent height constraint.
Can be placed directly in a
ColumnorListViewwithout wrapping inSizedBox. - Weekday labels row moved outside the
PageView— stays static during page swipes.
1.0.0 #
- Initial public release.
- Horizontally-scrollable date picker with PageView-based month navigation.
- Single date selection mode (
SelectionMode.single). - Date range selection mode (
SelectionMode.range). - Fully customizable styling via
DatePickerStyleandDatePickerIndicatorShape. - Locale-aware weekday and month formatting via
intl. - Accessibility: semantic labels, state announcements, 48x48 tap targets.
- Min/max date boundary enforcement with disabled date styling.
- Initial date and initial date range support.