flutter_event_calendar 0.0.6

Flutter Android iOS web

Gregorian and Jalali Event calendar for flutter with options for change style

flutter Event Calendar Package

Pub License: MIT


Event Calendar #

How to install : #

Add this to your package's pubspec.yaml file:

dependencies:
  flutter_event_calendar: ^0.0.6

Then You can install packages from the command line:

$ pub get

or

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Now in your Dart code, you can use:

import 'package:flutter_event_calendar/flutter_event_calendar.dart';

flutter Event Calendar Package

Basic Usage : #

You can load a full calendar with events .

  return EventCalendar(
        events: [
          Event(
            title: 'Laravel Event',
            description: 'The largest Laravel event of the year ...',
            dateTime: '2020-09-27 20:00',
          ),
        ],
      ),

flutter Event Calendar Package

Options : #

You have many option for changes in : style , locale and structure.

| Option | Type | |------------ |------------------------------------- | | type | String ( jalali or gregorian ) | | dateTime | String ( yy-mm-dd H:i:s ) | | events | List

Event Structure #

| Option | Type | |------------ |------------------------------------- | | title | String | | description | String | | dateTime | String ( yy-mm-dd H:i:s ) | | onTap | Function | | onLongPress | Function |

Locales : #

Event Calendar supports two types of calendar now . Gregorian , and Jalali . Whenevenr you change type , package change direction and language automatically.

Contribute : #

You can help me and contribute for :

  • New options
  • More locales
  • Better exceptions
4
likes
90
pub points
53%
popularity

Publisher

faridfr.ir

Gregorian and Jalali Event calendar for flutter with options for change style

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, shamsi_date

More

Packages that depend on flutter_event_calendar