date_range_calendar 0.0.1
date_range_calendar: ^0.0.1 copied to clipboard
date_range_calendar helps your app can pick a range of dates.
Features #
- Show a calendar to pick range of dates.
Usage #
Basic #
Just import this package in your file you want to use.
Then, place DateRangeCalendar widget wherever you want to declare.
void onTappedDay(DateTime? s, DateTime? e) {
print('$s, $e');
}
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: DateRangeCalendar(
onTappedDay: onTappedDay,
),
),
);
}