m_calendar 1.2.1 copy "m_calendar: ^1.2.1" to clipboard
m_calendar: ^1.2.1 copied to clipboard

A customizable and lightweight Flutter calendar widget package supporting day and list-based selections with user-defined decorations.

📆 m_calendar #

A customizable and lightweight Flutter calendar widget package for list-based day selections with user-defined decorations.


🖼️ Previews #

Calendar Preview 1 Calendar Preview 2 Calendar Preview 3


✨ Features #

  • 📅 Month View – Display any month in a responsive calendar layout.
  • Marked Days – Highlight days using a simple list.
  • 🎨 Custom Decorations – Style each cell using BoxDecoration.
  • 🔥 User Selection – Customize picked day styles and icons.
  • 📆 Selection Modes – Supports both single and range selections.
  • 💼 State Management – Powered by provider.
  • 🧩 Easy Integration – Embeddable in any UI and layout.

Monthly Calendar #

MCalendar(
    selectedMonth: DateTime.now(),
    onUserPicked: (value) {
    debugPrint('User Get: $value');
    },
),

Weekly Calendar View #

MCalendar.weekly(
    startDay: Day.sunday,
    isRangeSelection: false,
    selectedMonth: DateTime.now(),
    onUserPicked: (value) {
    debugPrint('User Get: $value');
    },
),

🚀 Getting Started #

1️⃣ Add Dependency #

Add this to your pubspec.yaml:

dependencies:
  m_calendar: ^1.2.1
7
likes
160
points
207
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable and lightweight Flutter calendar widget package supporting day and list-based selections with user-defined decorations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, provider

More

Packages that depend on m_calendar