horizontal_week_calendar 0.0.18 horizontal_week_calendar: ^0.0.18 copied to clipboard
A horizontal week calender with on change week and on date selected function
Installation #
Add horizontal_week_calendar:
to your pubspec.yaml dependencies then run flutter pub get
dependencies:
horizontal_week_calendar:
Import #
Add this line to import the package.
import 'package:horizontal_week_calendar/horizontal_week_calendar.dart';
How to use #
HorizontalWeekCalendar(
onDateChange: (date) {
setState(() {
selectedDate = date;
});
},
),