calendar_date_picker2
4.0.0, released 6 weeks ago by an unverified publisher
A customizable Flutter calendar picker with single, multi, and range selection modes.
What it does
Provides highly customizable calendar picker widgets and built-in dialogs supporting single, multi, and range date selection. It allows configuration over views (day, month, year, scroll), UI elements, and localization.
AI-written summary of version 4.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a calendar date picker supporting single, multi-date, or range selections.
- You want to display a calendar inside a dialog with action buttons.
- You need deep customization of the calendar UI and text styles.
Skip it when
- You only need a simple, out-of-the-box Flutter Material CalendarDatePicker without customizations.
- Your project relies on an older Flutter SDK that doesn't meet version requirements.
Strengths
- Supports single, multi, and range date picking modes.
- Includes built-in dialog display method.
- Highly customizable UI and supports Material 3.
Weaknesses
- Requires managing a List of DateTimes for values.
- Frequent SDK version bumps may require migration updates.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
CalendarDatePicker2(
config: CalendarDatePicker2Config(),
value: _dates,
onValueChanged: (dates) => _dates = dates,
);Alternatives
Packages that do the same job and could replace calendar_date_picker2.
- omni_datetime_picker
A datetime picker package with option for a single datetime picker or a datetime range picker.
87Compare - date_picker_timeline
Flutter date picker library that renders a calendar as a horizontal timeline.
78Compare - date_picker_plus
Customizable Material Design date and range picker widgets for Flutter.
70Compare - board_datetime_picker
Picker to select date and time for Flutter. It is both a calendar and a picker, offering a variety of options as a package.
87Compare
Works with
Packages commonly used together with calendar_date_picker2: ones it builds on, ones built on it, and its own family.
- intlcalendar_date_picker2 depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- material_uicalendar_date_picker2 depends on itOfficial Flutter Material UI library implementing Google’s Material Design system.