flutter_datetime_picker_plus
3.0.1, released 7 weeks ago by picky.recipes
A customizable date and time picker supporting multiple languages.
What it does
Provides date, time, and combined date-time pickers via method calls. Supports custom picker models, multiple languages, and mouse drag and wheel interactions on web and desktop.
AI-written summary of version 3.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a date or time picker that supports multiple languages out-of-the-box.
- You want to customize the picker content or layout structure using custom picker models.
- You need to replace the default title bar with custom widgets using a builder.
Skip it when
- You are using a version of Flutter older than 3.47.0 (for version 3.x).
- You prefer built-in declarative Material or Cupertino date pickers.
Strengths
- Supports a wide array of languages and internationalization.
- Highly customizable via CommonPickerModel and custom title bar builders.
- Provides mouse and scroll wheel support for web and desktop platforms.
Weaknesses
- Requires standalone material_ui and cupertino_ui packages on recent Flutter versions.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
TextButton(
onPressed: () {
DatePicker.showDatePicker(context,
showTitleActions: true,
minTime: DateTime(2018, 3, 5),
maxTime: DateTime(2019, 6, 7), onChanged: (date) {
print('change $date');
}, onConfirm: (date) {
print('confirm $date');
}, currentTime: DateTime.now(), locale: LocaleType.zh);
},
child: Text(
'show date time picker (Chinese)',
style: TextStyle(color: Colors.blue),
));Alternatives
Packages that do the same job and could replace flutter_datetime_picker_plus.
- flutter_datetime_picker_bdaya
A date and time picker widget for Flutter supporting multiple languages and custom pickers.
50Compare - 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 - date_picker_timeline
Flutter date picker library that renders a calendar as a horizontal timeline.
78Compare - bottom_picker
A customizable bottom sheet picker widget for lists, dates, and times.
85Compare
Works with
Packages commonly used together with flutter_datetime_picker_plus: ones it builds on, ones built on it, and its own family.