maxx_calendar 1.0.11 copy "maxx_calendar: ^1.0.11" to clipboard
maxx_calendar: ^1.0.11 copied to clipboard

A beautiful calendar library for cross platforms which provides two month view modes along with color customization and callbacks for events and navigation buttons.

A beautiful calendar library for cross platforms.

Maxx Calendar #

This package provides two month view modes.

Group 4 (1)

Features #

  • Switch MonthView modes between events with visible texts and events with dots.
  • In built buttons for switching months
  • Null safe
  • Border colors, text colors and events background colors can be customized easily.
  • In built buttons for month switching can be hidden.
  • Callbacks for month changes and event clicks.

Getting started #

Just add the widget to your widget tree and go ahead !

Usage #

//create Events (read the comments carefully)
List<List<MaxxEventModel>> events = [
      [
        MaxxEventModel(
            id: "unique id here if you want or the date format you want",
            title: "event 1 name",
            bgColor: Colors.cyan,
            textColor: Colors.white),
        MaxxEventModel(
            id: "unique id here if you want or the date format you want",
            title: "event 2 name",
            bgColor: Colors.cyan,
            textColor: Colors.white)
      ], //Adds this events to day 1 of the current month
      <MaxxEventModel>[].toList() //this adds empty events for day 2
      //You must add empty events for days which should not have anything
    ];

//Wrap in expanded if using column or listview
MaxxCalendar(calType: CalType.MONTHVIEW,
                tileBorderColor: Colors.indigoAccent,
                tileDateColor: Colors.black,
                events: events, //fetch new events from your remote repo on date change
                onDateClick: (date){},
                onDateChangeListener: (date){},
                currMonth: 6, //sets the initial month
                currYear: 2023, //sets the initial year
                hideMonthNavigationButtons: false),
10
likes
140
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

A beautiful calendar library for cross platforms which provides two month view modes along with color customization and callbacks for events and navigation buttons.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

auto_size_text, flutter, flutter_animate, google_fonts, intl

More

Packages that depend on maxx_calendar