이슬람 히지라 달력 패키지는 아랍어 및 영문 숫자로 이슬람 음력 날짜를 표시할 수 있는 사용자 정의 가능한 위젯을 제공합니다. 히지라 달 이름과 연도를 정확하게 표시하며, 아랍어의 양방향 텍스트를 지원하고, 월 간 탐색을 부드럽게 가능하게 합니다. 무슬림 사용자를 대상으로 하거나 이슬람 달력 통합이 필요한 앱에 적합하며, 모바일, 웹, 데스크톱 등 모든 주요 플랫폼에서 작동합니다. 패키지는 가볍고 최소한의 설정으로 쉽게 구현할 수 있습니다.
사용 사례
이슬람 기도 시간 앱
종교 행사 일정
무슬림 커뮤니티 플랫폼
이슬람 문화에 관한 교육용 앱
캘린더 기반 이슬람 리마인더
주요 기능
아랍어 및 영어로 히지라 날짜 표시
양방향 아랍어 텍스트를 지원합니다
정확한 히지라 월 및 연도 레이블
쉬운 월 탐색
크로스 플랫폼 호환성
사용자 지정 가능한 UI
적합한 대상
무슬림 사용자를 위한 앱
이슬람 교육 도구
문화적 또는 종교적 응용
국제 날짜 표시 필요
달력 지원이 필요한 개발자
고려 사항
히지라 연도 계산을 수동으로 처리해야 합니다
시각적 표현에 국한되며 날짜 산술은 아님
아랍어를 모국어로 하지 않는 사용자를 위해 추가적인 현지화가 필요할 수 있습니다
정확한 표시를 위해 정확한 시스템 시간에 의존합니다
복잡한 캘린더 작업에 적합하지 않습니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
Introducing our Islamic Hijri Calendar widget, offering a comprehensive date display with both Arabic and English numerals. Easily view Hijri month names alongside the year and navigate through months effortlessly.
Features
Users can set only the English calendar or show it with the Hijri calendar.
Shows both english day & arabic day.
Shows the Hijri month names along with the year.
set custom font families manually & google font as well.
Support for both light and dark modes for better visibility and user preference.
Users can customize the colors to match their preferences or app theme.
Users can easily change the month and year to navigate through the calendar.
Getting started
Add dependency to your pubspec.yaml file & run Pub get
IslamicHijriCalendar(
isHijriView: true, // allowing users to set either the English calendar only or display the Hijri calendar alongside the English calendar
highlightBorder : Theme.of(context).colorScheme.primary, // Set selected date border color
defaultBorder : Theme.of(context).colorScheme.onBackground.withValues(alpha:0.1), // Set default date border color
highlightTextColor : Theme.of(context).colorScheme.background, // Set today date text color
defaultTextColor : Theme.of(context).colorScheme.onBackground, //Set others dates text color
defaultBackColor : Theme.of(context).colorScheme.background, // Set default date background color
adjustmentValue: 0, // Set islamic hijri calendar adjustment value which is set by user side
isGoogleFont: true, // Set it true if you want to use google fonts else false
fontFamilyName: "Lato", // Set your custom font family name or google font name
getSelectedEnglishDate: (selectedDate){ // returns the date selected by userprint("English Date : $selectedDate");
},
getSelectedHijriDate: (selectedDate){ // returns the date selected by user in Hijri formatprint("Hijri Date : $selectedDate");
},
isDisablePreviousNextMonthDates: true, // Set dates which are not included in current month should show disabled or enabled
),
Properties
Property
Types
Description
isHijriView
bool?
allowing users to set either the English calendar only or display the Hijri calendar alongside the English calendar
highlightBorder
Color?
Set selected date border color
defaultBorder
Color?
Set default date border color
highlightTextColor
Color?
Set today date text color
defaultTextColor
Color?
Set others dates text color
defaultBackColor
Color?
Set default date background color
adjustmentValue
int
Set hijri calendar adjustment value which is set by user side
isGoogleFont
bool?
Set it true if you want to use google fonts else false
fontFamilyName
String?
Set your custom font family name or google font name
getSelectedEnglishDate
return selectedDate
returns the date selected by user
getSelectedHijriDate
return selectedDate
returns the date selected by user in Hijri format
isDisablePreviousNextMonthDates
bool?
Set dates which are not included in current month should show disabled or enabled