パッケージ、リポジトリ、アプリカテゴリを検索

GitHub リポジトリDevCodeSpace/islamic_hijri_calendar

イスラム暦

イスラム暦(ヒジュラ暦)カレンダーウィジェットをご紹介します。アラビア語と英語の数字を併用した包括的な日付表示を提供しています。ヒジュラ月の名前と年を簡単に確認でき、月間の移動もスムーズです。

イスラム暦 のプロジェクト画像
スター
4
フォーク
9
最終プッシュ(UTC)
2026/09/11
プロジェクト状態
公開中

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

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

DevCodeSpace GitHub avatar
GitHub 作者

DevCodeSpace ↗

言語DartC++CMakeRubySwiftCHTMLKotlinObjective-C

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 5 件

プロジェクトに合うリポジトリを選ぶには?

用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。

  1. 名前・作者・説明で検索し、技術トピックで絞り込みます。
  2. スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
  3. 利用前に GitHub で README、ライセンス、Issues を確認します。

情報源と管理

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗