horizontal_date_range_picker 1.7.6 copy "horizontal_date_range_picker: ^1.7.6" to clipboard
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 PageController assertion error when selecting a month in the month picker.
  • Added bottom sheet example button to the example app.

1.7.5 #

  • onDateSelected now fires in SelectionMode.range when 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 initialPage for determinism, weekday label tests updated to test WeekdayLabelsRow directly.

1.7.3 #

  • Fixed PageController is not attached error 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 weekdayFormat to DatePickerStyle for 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 headerDateFormat to DatePickerStyle for customizing the header format (default: 'MMMM yyyy').
  • Added monthPickerFormat to DatePickerStyle for 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 enableMonthPicker property (default: true) to HorizontalDateRangePicker and DatePickerNavigator. Set to false to 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 selectedIndicatorSize to DatePickerStyle for controlling the diameter of the selected date indicator.
  • Added cellHeight to DatePickerStyle for controlling the height of each day cell (default: square cells).

1.4.1 #

  • Deprecated rangeSelectionBackground in favor of rangeStripColor. 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 rangeStripColor property to DatePickerStyle for customizing the strip color (with opacity via Color.withOpacity).
  • Added rangeStripHeight property to DatePickerStyle for controlling the strip's vertical thickness.

1.2.0 #

  • Added previousMonthIcon and nextMonthIcon properties to DatePickerStyle for 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 Column or ListView without wrapping in SizedBox.
  • 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 DatePickerStyle and DatePickerIndicatorShape.
  • 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.
0
likes
150
points
638
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A horizontally-scrollable date picker widget with single date and date range selection modes.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on horizontal_date_range_picker