Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
DateRangePicker
const DateRangePicker({
super.key,
this.size,
this.startDate,
this.endDate,
this.initialMonth,
this.minimumDate,
this.maximumDate,
this.firstDayOfWeek,
required this.onChanged,
this.backgroundColor,
this.padding,
this.accentColor,
this.borderRadius,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
size | ComponentSize? | No | null |
startDate | DateTime? | No | null |
endDate | DateTime? | No | null |
initialMonth | DateTime? | No | null |
minimumDate | DateTime? | No | null |
maximumDate | DateTime? | No | null |
firstDayOfWeek | int? | No | null |
onChanged | ValueChanged<CalendarDateRange?> | Yes | — |
backgroundColor | Color? | No | null |
padding | EdgeInsetsGeometry? | No | null |
accentColor | Color? | No | null |
borderRadius | double? | No | null |
Application Setup
Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.
Source
lib/src/widgets/date_time/date_range_picker/date_range_picker.dart
This reference is generated from the DateRangePicker declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

