Code Monkey home page Code Monkey logo

max_calendar_library_flutter's Introduction

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),

max_calendar_library_flutter's People

Contributors

maxx2478 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.