분류, 패키지 및 저장소 검색

flutter_event_calendar 표지
패키지 상세v1.0.0

flutter_event_calendar

스타일 변경 옵션이 있는 Flutter용 그레고리력 및 자라리 이벤트 캘린더

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
145
좋아요
66
Pub 점수
120

패키지 설치

flutter pub add flutter_event_calendar

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

이벤트 지원 기능을 갖춘 그레고리력과 자라리력 달력을 표시하기 위한 플러터 패키지로, 사용자 정의 스타일링 옵션을 제공합니다. 개발자가 앱에 이중 캘린더 기능을 통합할 수 있도록 하며, 국제적 및 페르시아 날짜 시스템을 모두 지원합니다. 사용이 간편하고 유연한 UI 커스터마이징이 가능하여, 다양한 플랫폼에서 스케줄링, 계획 또는 예약 기반 애플리케이션에 적합합니다.

사용 사례

  • 예약 일정 조정
  • 이중 캘린더 형식에서 이벤트 관리
  • 개인용 계획 수립
  • 휴일 캘린더 표시
  • 이벤트가 풍부한 대시보드 만들기

주요 기능

  • 그레고리력 및 자라이리력 지원
  • 사용자 정의 가능한 캘린더 스타일
  • 이벤트 통합 및 표시
  • 크로스 플랫폼 호환성
  • 사용하기 쉬운 API
  • 반응형 디자인

적합한 대상

  • 캘린더 앱을 개발하는 개발자
  • 이중 날짜 시스템 지원을 필요로 하는 앱
  • 사용자 인터페이스 중심의 스케줄링 도구
  • 페르시아어 사용자를 대상으로 하는 프로젝트
  • 다중 플랫폼 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 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.