0 purchases
table calendar null safe
Table Calendar with Null safety and calendarController #
Features #
Extensive, yet easy to use API
Custom Builders for truly flexible UI
Complete programmatic control with CalendarController
Dynamic events
Interface for holidays
Locale support
Vertical autosizing
Beautiful animations
Gesture handling
Multiple Calendar formats
Multiple days of the week formats
Specifying available date range
Nice, configurable UI out of the box
Installation #
Add to pubspec.yaml:
dependencies:
table_calendar_null_safe: ^2.0.0
copied to clipboard
Then import it to your project:
import 'package:table_calendar_null_safe/table_calendar.dart';
copied to clipboard
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,
);
}
copied to clipboard
Locale #
Table Calendar supports locales. To display the Calendar in desired language, use locale property.
If you don't specify it, a default locale will be used.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.