m_calendar 1.3.5 copy "m_calendar: ^1.3.5" to clipboard
m_calendar: ^1.3.5 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 3 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.
  • 📱 ** Horizontal View** - A horizontal calendar view that allows you to view the entire month at once.

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');
    },
),

Horizontal Calendar View #

SizedBox(
  width: double.maxFinite,
  height: 300,
  child: MCalendar.horizontal(
    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
10
likes
160
points
326
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, intl, provider

More

Packages that depend on m_calendar