Skip to content
pubscout

flutter_date_range_picker

0.3.0, released 8 weeks ago by gaspardmerten.dev

Flutter package for selecting date ranges with calendar, dialog, and form field options.

WASM-ready
$ flutter pub add flutter_date_range_picker
Source repository

What it does

Provides customizable widgets like DateRangePickerWidget, DateRangeField, and DateRangeFormField to allow users to select date ranges. Supports minimum and maximum date limitations, disabled dates, and custom themes.

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

Use it when

  • You need to let users pick a start and end date range in a Flutter app.
  • You want support for form fields, dialogs, and embedded calendar widgets.
  • You need to enforce minimum and maximum date range durations.

Skip it when

  • You only need a single date picker rather than a range picker.
  • You are using completely custom non-Material design systems where a pre-built calendar UI conflicts heavily.

Strengths

  • Provides both inline widgets, form fields, and dialog helpers.
  • Supports customizable themes, minimum/maximum range lengths, and disabled dates.
  • Responsive layout supporting single or double month displays.

Weaknesses

  • Limited to date range picking functionality.
  • Relies on standard localization via the intl package rather than custom bespoke setups.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
DateRangeField(
    decoration: InputDecoration(
        label: Text("Date range picker"),
        hintText: 'Please select a date range',
    ),
    onDateRangeSelected: (DateRange? value) {
        // Handle the selected date range here
    },
    selectedDateRange: selectedRange,
);

Alternatives

Packages that do the same job and could replace flutter_date_range_picker.

Works with

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