A Flutter package for all platform which provides a custom date range picker in flutter.
Screen Shot
Mobile
Web
Usage
Add the package to pubspec.yaml
dependencies: flutter_date_range_picker: git: url: https://github.com/linagora/flutter-date-range-picker.git ref: master
Import it
import 'package:flutter_date_range_picker/flutter_date_range_picker.dart';
Use the widget
- Open date range picker:
MaterialDateRangePickerDialog.showDateRangePicker( context, selectDateRangeActionCallback: (startDate, endDate) {} );
- Open date picker:
MaterialDateRangePickerDialog.showDatePicker( context, title selectDateActionCallback: (dateSelected) {} );
Learn more about date picker click here
Credit
This project is developed by linagora
Download this project from the below link.
https://github.com/linagora/flutter-date-range-picker/archive/refs/heads/master.zip
You can visit the source page from the below link:
https://github.com/linagora/flutter-date-range-picker