Header will build below the Date Grid. Custom Control On Right and Left Button Tapped in Header.
Add to pubspec.yaml:
dependencies:
table_calendar:
git:
url: https://github.com/thelazyone11/table_calendar
Then import it to your project:
import 'package:table_calendar/table_calendar.dart';
And finally create the TableCalendar with a CalendarController
:
@override
void initState() {
super.initState();
_calendarController = CalendarController();
}
@override
void dispose() {
_calendarController.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
return TableCalendar(
calendarController: _calendarController,
);
}