flutter_date_pickers
0.4.3, released 2 years ago by an unverified publisher
Inline day, week, range and month date pickers without dialogs.
What it does
Provides a set of customizable inline date picker widgets (DayPicker, WeekPicker, RangePicker, MonthPicker, YearPicker). Allows styling of dates, disabled dates, and special decorations, and returns DateTime values at selection.
AI-written summary of version 0.4.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need an inline date picker that fits into your UI without opening a dialog
- You want customizable styles for selected, current, and disabled dates
- You need range or week selection support
Skip it when
- You require a native platform date picker UI
- You need a full-featured calendar with events and complex scheduling
Strengths
- No dialog, fits directly in layout
- Highly customizable styles and decorations
- Supports day, week, range, month, and year selections
- Null‑safe and works on all Flutter platforms
Weaknesses
- Limited to inline UI, no built‑in dialog variant
- Customization limited to provided style objects
- No built‑in support for event calendars or recurring dates
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Widget buildWeekDatePicker(DateTime selectedDate, DateTime firstAllowedDate, DateTime lastAllowedDate, ValueChanged<DatePeriod> onNewSelected){
final styles = DatePickerRangeStyles(
selectedPeriodLastDecoration: BoxDecoration(color: Colors.red),
selectedPeriodStartDecoration: BoxDecoration(color: Colors.green),
selectedPeriodMiddleDecoration: BoxDecoration(color: Colors.yellow),
);
return WeekPicker(
selectedDate: selectedDate,
onChanged: onNewSelected,
firstDate: firstAllowedDate,
lastDate: lastAllowedDate,
datePickerStyles: styles,
);
}Alternatives
Packages that do the same job and could replace flutter_date_pickers.
- flutter_calendar_carousel
An accessible, theme-aware Flutter calendar with lazy month and week paging.
93Compare - syncfusion_flutter_datepicker
A Flutter widget for selecting single dates, multiple dates, or date ranges with various calendar views.
91Compare - kalender
A customizable calendar widget with day, multi-day, month, and schedule views.
92Compare - infinite_calendar_view
Easily build your different views of your calendar with this package. Month, week, multi days, one day, list ... and many features of the calendar widget.
74Compare
Works with
Packages commonly used together with flutter_date_pickers: ones it builds on, ones built on it, and its own family.