flutter_month_range 0.0.1
flutter_month_range: ^0.0.1 copied to clipboard
A simple and elegant horizontal month range picker widget for Flutter.
flutter_month_range #
A simple, elegant horizontal month-based range picker for Flutter — designed for single month view selection with smooth navigation.

Features #
✅ Single month view
✅ Smooth horizontal navigation with arrows
✅ Range highlight between start and end date
✅ Easy integration with showDialog
✅ Lightweight, no dependencies except intl
Installation #
Add to your pubspec.yaml:
dependencies:
flutter_month_range: ^0.0.1
Usage #
onPressed: () async {
DateTimeRange? result = await showDialog<DateTimeRange>(
context: context,
builder: (context) => CustomDateRangePicker(
firstDate: DateTime(2022, 1, 1),
lastDate: DateTime(2030, 12, 31),
),
);
if (result != null) {
print('Selected: ${result.start} to ${result.end}');
}
}
License #
MIT License © Rahul Sharma