Date Range Picker is a user-friendly and simple package for Flutter that allows users to select a date range. It's designed to evolve over time, and its components are built to be reusable.
If the user wants to select a single-day range they need to tap twice (at least, if the initial date range is not null).
Setting to true the new allowSingleTapDaySelection option will instead call onDateChanged even at the first tap.
The default value is false for backward compatibility.
If the user wants to select a single-day range they need to tap twice (at least, if the initial date range is not null). Setting to
true
the newallowSingleTapDaySelection
option will instead call onDateChanged even at the first tap.The default value is
false
for backward compatibility.