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

calendar_awesome 표지
패키지 상세v0.0.3

calendar_awesome

"자라리" 및 "그레고리안"을 위한 사용자 정의 가능한 캘린더 위젯

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
50
좋아요
8
Pub 점수
135

패키지 설치

flutter pub add calendar_awesome

패키지 개요

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

자기 맞춤이 가능한 일정표 위젯으로, 자라리력과 그레고리력 모두를 지원합니다. Flutter 애플리케이션에 원활하게 통합되도록 설계되었으며, 유연한 스타일링, 이벤트 마킹, 월 및 연도 간의 부드러운 탐색 기능을 제공합니다. 문화적 또는 지역적 날짜 형식 선호가 있는 날짜 선택 기능을 필요로 하는 앱에 이상적입니다. Android, iOS, Web, macOS, Windows, Linux 등 다양한 플랫폼을 지원하여 광범위한 호환성을 보장합니다. 개발자는 앱 디자인 요구 사항에 맞게 외관과 동작을 조정할 수 있습니다.

사용 사례

  • 페르시아(자라리) 애플리케이션에서 날짜 선택
  • 국제 앱에서의 그레고리력 통합
  • 사용자 지정 마커를 사용한 이벤트 스케줄링
  • 다중 플랫폼 날짜 선택기
  • 캘린더용 사용자 정의 가능한 UI
  • 시간 기반 계획 도구

주요 기능

  • 자라리력 및 그레고리력 지원
  • 높은 사용자 정의 가능한 외관
  • 이벤트 강조 및 표시
  • 크로스 플랫폼 호환성
  • 부드러운 월/년도 탐색
  • 개발자를 위한 확장 가능한 API

적합한 대상

  • 이란 또는 페르시아어 사용자를 대상으로 하는 앱
  • 이중 캘린더 지원이 필요한 국제 앱
  • 캘린더 UI에 대한 완전한 제어를 원하는 개발자
  • 다중 플랫폼 날짜 선택기가 필요한 프로젝트
  • 복잡한 날짜 상호작용이 필요한 애플리케이션

고려 사항

  • 자기 처리가 필요한 자라리-그레고리력 변환
  • 고급 사용자 정의를 위한 문서가 제한적입니다
  • 기본이 아닌 테마에 대해 추가 스타일링이 필요할 수 있습니다
  • 매우 큰 이벤트 데이터 세트에 최적화되지 않음
  • 외부 날짜 파싱 라이브러리에 의존합니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

calendar_awesome

A customizable calendar widget (Jalali & Gregorian) for Flutter

Image

Installation

Run this command:

flutter pub add calendar_awesome

or Include instructions on how to install your library using pubspec.yaml:

dependencies:
  calendar_awesome: ^0.0.1

Simple Usage

import 'package:calendar_awesome/calendar_awesome.dart';

CalendarAwesome(
  date: const GregorianDate(2024, 8), /// or JalaliDate(1403,5) 
  onChange: (onChangeParam) {
  print(onChangeParam.date);
  print(onChangeParam.tasks);
  print(onChangeParam.events);
  print(onChangeParam.holidays);
  }
)

Properties for CalendarAwesome

Property Description Type Required Default value
date To determine the type, year and month of the default calendar GregorianDate(2024,8)&JalaliDate(1403,5) CustomDate YES
events A list that takes the class EventClass and is shown as a dot above the days List no []
tasks A list that takes the class TaskClass and is shown linearly under the days List no []
holidays A list that takes a HolidayClass class that displays dates as holidays List no []
showWeekend Weekends are closed or not bool no true
activeSelectDate The user can choose a day or not bool no true
calendarStyle Gets the CalendarStyle class to customize the UI CalendarStyle no CalendarStyle()
header Custom header instead of default header Widget Function(PageController, Month) no null
onChange When a day is clicked, it returns the values of that day void Function(OnChangeParam) YES

Properties for CalendarStyle

Property Description Type Required Default value
weekendStyle Style text of holidays TextStyle no null
weekdayStyle Text style of days of the week TextStyle no null
textWeekdayStyle Weekday text style TextStyle no TextStyle(color: Colors.black)
direction Left to right and right to left calendar TextDirection no TextDirection.ltr
textWeekdayAngle Amount of weekday tax rotation double no 0.7
todayColor Today's color Color no Color.fromARGB(255, 70, 39, 156),
todayStyle Today's text style TextStyle no null
taskColor Task color under the days Color no Colors.greenAccent
selectDayWidth The thickness of the circle around the selected day double no 1.2
persianText Use of Persian text bool no false
scrollDirection Movement model between pages Axis no null
animationDuration Duration animation of moving between pages Duration no null
animationCurve Type of animation to move between pages Curve no null
selectDayColor The color of the circle around the selected day Color no null
weekdaysText List of text days of the week List no ["Sun", "Mon", "Tue", "Wed", "Thur", "Fri", "Sat"]

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

카테고리

의존성

의존성 목록 5 개

소스 저장소

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

아직 데이터가 없습니다.