FLUTTER ECOSYSTEM

DevCodeSpace/islamic_hijri_calendar

우리의 이슬람 히지라 달력 위젯을 소개합니다. 아랍어 및 영문 숫자를 모두 사용하여 포괄적인 날짜 표시를 제공합니다. 히지라 월 이름과 연도를 쉽게 확인하고, 월 간 탐색이 용이합니다.

이슬람 히지라력 프로젝트 이미지
Stars
4
Forks
9
최근 푸시(UTC)
2026. 9. 11.
프로젝트 상태
활성
DevCodeSpace GitHub avatar
GITHUB User

DevCodeSpace ↗

언어DartC++CMakeRubySwiftCHTMLKotlinObjective-C

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 5 개

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

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.

Dart Extensions Pro contributors

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

dependencies:
  islamic_hijri_calendar: ^0.0.5

And import package into your class file

import 'package:islamic_hijri_calendar/islamic_hijri_calendar.dart';

Usage

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 user
     print("English Date : $selectedDate");
   },            
   getSelectedHijriDate: (selectedDate){ // returns the date selected by user in Hijri format
     print("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

Code Contributors

Dart Extensions Pro contributors

Made with ❤️ by the DevCodeSpace