Skip to content
pubscout

scroll_datetime_picker

0.2.2, released a year ago by auliyaa.com

A scrollable datetime picker widget inspired by CupertinoDatePicker with extensive customization.

WASM-ready
$ flutter pub add scroll_datetime_picker
Source repository

What it does

Provides a scrollable date and time picker widget for Flutter applications. It supports customizable formats, locales, appearance, scroll physics, and programmatic control via a controller.

AI-written summary of version 0.2.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a Cupertino-style date and time picker wheel with rich customization options.
  • You require custom date/time ordering, formatting, or localization using the intl package.

Skip it when

  • You only need standard platform native pickers (e.g. showDatePicker).
  • You do not need scroll-wheel style selections.

Strengths

  • Highly customizable appearance, text styles, and scroll wheel options.
  • Supports both finite and infinite scrolling.
  • Includes smart detection for invalid dates and leap years.
  • Provides programmatic control via DateTimePickerController.

Weaknesses

  • Relies on external intl package formatting limitations.
  • Not the standard Material Design picker style by default.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

not documented

ScrollDateTimePicker(
  itemExtent: 54,
  infiniteScroll: true,
  dateOption: DateTimePickerOption(
    dateFormat: DateFormat('yyyyMMMdd'),
    minDate: DateTime(2000, 6),
    maxDate: DateTime(2024, 6),
  ),
  onChange: (datetime) => setState(() {}),
)

Alternatives

Packages that do the same job and could replace scroll_datetime_picker.

Works with

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