カテゴリー・パッケージ・リポジトリを検索

flutter_event_calendar のカバー
パッケージ詳細v1.0.0

flutter_event_calendar

Flutter用のグレゴリオ暦およびジャラーリー暦イベントカレンダー、スタイル変更オプション付き

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
145
いいね数
66
Pub ポイント
120

パッケージをインストール

flutter pub add flutter_event_calendar

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

イベント対応のグレゴリオ暦とジャラリ暦を表示するためのFlutterパッケージで、カスタマイズ可能なスタイルオプションを提供します。開発者がアプリに二重カレンダー機能を統合できるようにし、国際的およびペルシャ暦システムの両方をサポートしています。使いやすく、柔軟なUIカスタマイズが可能で、複数のプラットフォーム向けのスケジューリング、計画、予約ベースのアプリに最適です。

用途

  • 予約のスケジューリング
  • 二重カレンダーフォーマットでのイベントの管理
  • 個人の計画の作成
  • 休日カレンダーの表示
  • イベント豊富なダッシュボードの作成

主な機能

  • グレゴリオ暦およびジャラーリー暦のサポート
  • カスタマイズ可能なカレンダーのスタイル
  • イベントの統合と表示
  • クロスプラットフォーム互換性
  • 使いやすい API
  • レスポンシブデザイン

適している対象

  • カレンダーアプリを開発する開発者
  • 二重日付システム対応を必要とするアプリ
  • UI中心のスケジューリングツール
  • ペルシャ語話者をターゲットにしたプロジェクト
  • マルチプラットフォームのFlutterアプリケーション

注意事項

  • 手動でのイベントデータ管理が必要です
  • スタイルのカスタマイズには、CSSに似た知識が必要になる場合があります
  • サポートされているカレンダー以外の組み込みローカライゼーションは限定的
  • ネイティブなタイムゾーン処理なし
  • 更新に外部のソースコードに依存しています
  • 複雑な相互作用には追加の状態管理が必要になる場合があります

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

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: ^1.0.0

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(
      calendarType: CalendarType.JALALI,
      calendarLanguage: 'fa',
      events: [
        Event(
          child: const Text('Laravel Event'),
          dateTime: CalendarDateTime(
            year: 1401,
            month: 5,
            day: 12,
            calendarType: CalendarType.JALALI,
          ),
        ),
      ],
    );

flutter Event Calendar Package

Options :

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

Option Type
calendarType CalendarType ( JALALI or GREGORIAN )
middleWidget Widget
events List
calendarOptions CalendarOptions
headerOptions HeaderOptions
eventOptions EventOptions
dayOptions DayOptions
showLoadingForEvent bool
specialDays List
calendarLanguage String(fa,en,pt,de)
Events
Name Description
onInit Called when Event Calendar object is inserted into the tree.
onChangeDateTime Return a string of new date selected like (year-month-day)
onMonthChanged When the month changes return a string of CalendarDateTime (year-month-day hour:minute:second)
onYearChanged When the year changes return a string of CalendarDateTime (year-month-day hour:minute:second)
onDateTimeReset When clicking on the reset button return a string of current CalendarDateTime (year-month-day hour:minute:second)
onChangeViewType When clicking on the toggleViewType return ViewType

CalendarOptions :

Option Type Description
toggleViewType bool Whether user can toggle view type between monthly and daily or not
viewType ViewType Default view type of Calendar Daily or Monthly
font String Name of your font
headerMonthBackColor Color The background color of Calendar card
headerMonthShadowColor Color The shadow color of Calendar card
headerMonthElevation double The elevation of shadow color Calendar card
headerMonthShape ShapeBorder The shape of Calendar card like(RoundedRectangleBorder)
bottomSheetBackColor Color The background color of select month and year bottom sheet)
HeaderOptions :
Option Type Description
weekDayStringType WeekDayStringTypes Day names FULL or SHORT
MonthStringTypes MonthStringTypes Month names FULL or SHORT
headerTextColor Color The color of Header Text
navigationColor Color The color of Header navigation icons
resetDateColor Color The color of reset date icon
EventOptions :
Option Type Description
emptyText String if it doesn't have any event, this text will display
emptyTextColor Color The color of empty text
emptyIcon IconData if it doesn't have any event, this icon will display
emptyIconColor Color The color of empty icon
DayOptions :
Option Type Description
weekDaySelectedColor Color The color of the Selected weekday
weekDayUnselectedColor Color The color of the UnSelected weekday
showWeekDay bool Whether weekdays show or not
compactMode bool Whether the Calendar card is compact or not
selectedBackgroundColor Color The background color of the selected day
unselectedBackgroundColor Color The background color of the unselected day
selectedTextColor Color The text color of the selected day
disabledTextColor Color The text color of the disabled day
unselectedTextColor Color The text color of the unselected day
eventCounterColor Color The background color of the event counter
eventCounterViewType DayEventCounterViewType The view type of event counter
eventCounterTextColor Color The text color of the event Counter
disableFadeEffect bool Whether days before now has fade effect or not
disableDaysBeforeNow bool Whether days before now Disabled or not
Event Structure
Option Type
child Widget
dateTime CalendarDateTime
onTap Function
onLongPress Function

Locales :

Event Calendar supports two types of calendar now . Gregorian , and Jalali .

Contribute :

You can help us and contribute for :

  • New options
  • More locales
  • Better exceptions

カテゴリー

依存関係

依存関係一覧 3 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。