Skip to content
pubscout

flutter_datetime_picker_plus

3.0.1, released 7 weeks ago by picky.recipes

A customizable date and time picker supporting multiple languages.

WASM-readyUses material_ui
$ flutter pub add flutter_datetime_picker_plus
Source repository

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.

Works with

Packages commonly used together with flutter_datetime_picker_plus: ones it builds on, ones built on it, and its own family.