flutter_datetime_picker_bdaya
3.0.2, released 3 years ago by bdaya-dev.com
A date and time picker widget for Flutter supporting multiple languages and custom pickers.
What it does
Allows users to select dates, times, or combined date-time values through a customizable picker interface. It supports multiple languages and provides options to define custom picker models.
AI-written summary of version 3.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a customizable date and time picker in your Flutter application.
- You require multi-language support for date-time picking out-of-the-box.
Skip it when
- You prefer using standard Material or Cupertino date pickers provided directly by Flutter's core framework.
- You do not need customization or internationalization beyond standard defaults.
Strengths
- Supports a wide variety of languages and locales.
- Allows custom picker models via CommonPickerModel extension.
Weaknesses
- Forked from an inactive package repository.
- Imperative function call style rather than a standard Flutter form field widget.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
TextButton(
onPressed: () {
DatePickerBdaya.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_bdaya.
- flutter_datetime_picker_plus
A customizable date and time picker supporting multiple languages.
83Compare - 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