flutter_event_calendar 0.0.6 copy "flutter_event_calendar: ^0.0.6" to clipboard
flutter_event_calendar: ^0.0.6 copied to clipboard

outdated

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
font String
headerMonthStringType String ( full or short )
headerWeekDayStringType String ( full or short )
weekDaySelectedColor Color
weekDayUnselectedColor Color
dayIndexSelectedBackgroundColor Color
dayIndexUnselectedBackgroundColor Color
dayIndexSelectedForegroundColor Color
dayIndexUnelectedForegroundColor Color
emptyText String
emptyTextColor Color
emptyIcon IconData
emptyIconColor Color
eventBackgroundColor Color
eventTitleColor Color
eventDescriptionColor Color
eventDateTimeColor Color
isRTL bool

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
59
likes
0
pub points
88%
popularity

Publisher

verified publisherfaridfr.ir

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

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, shamsi_date

More

Packages that depend on flutter_event_calendar