flutter_calendar_carousel
4.0.1, released 4 days ago by hyo.dev
An accessible, theme-aware Flutter calendar with lazy month and week paging.
What it does
Provides customizable month and week calendar views with event markers, date selection, and navigation controls. Built on the material_ui package.
AI-written summary of version 4.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display a month or week calendar view with event markers.
- You require accessibility, theme-awareness, and customizable day and header builders.
Skip it when
- Your application is still using the standard in-framework package:flutter/material.dart instead of material_ui (for version 4.0).
- You need complex event scheduling and calendar management out of the box.
Strengths
- Lazy month and week paging for performance.
- Typed event builders and application model integration.
- Configurable layout, paging, and theming objects.
Weaknesses
- Requires migrating to the standalone material_ui package on version 4.0.
- Strict dependency on Flutter >=3.47.0 and Dart ^3.13.0.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Add material_ui as a dependency and ensure your app hosts the calendar under a material_ui MaterialApp or Localizations ancestor.
SizedBox(
height: 420,
child: CalendarCarousel<String>.month(
selectedDate: _selectedDate,
focusedDate: _focusedDate,
onDateSelected: (DateTime date, List<String> events) {
setState(() {
_selectedDate = date;
_focusedDate = date;
});
},
),
)Alternatives
Packages that do the same job and could replace flutter_calendar_carousel.
- flutter_calendar_week
Flutter calendar week UI package
54Compare - calendar_view
A Flutter package providing multiple calendar views and event management functionality.
83Compare - flutter_date_pickers
Inline day, week, range and month date pickers without dialogs.
50Compare - cr_calendar
Customizable Flutter calendar widget with range picking and event showing.
54Compare
Works with
Packages commonly used together with flutter_calendar_carousel: ones it builds on, ones built on it, and its own family.
- intlflutter_calendar_carousel depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- material_uiflutter_calendar_carousel depends on itOfficial Flutter Material UI library implementing Google’s Material Design system.