'Minimal Adhan' is now 'Azan'
An Open-Sourced Adhan app for the ummah.
Built With FLutter
- Multiple language support
-
Adhan Timings:
- 5 Prayer Times
- Sunrise Time
- Midnight Time (For Qiam-ul-layl)
- Last Third of night Time (For Qiam-ul-layl)
- Qibla Direction and compass
- Essential Duas with translations and transliteration in multiple languages
- Tasbih
- Mosque Finder
-
Able to configure adhan time calculation parameters
- Calculation methods
- Madhab (School of thoughts)
- High Latitude rules
- Adhan Visibility
- Manual Corrections
- See More
- Adhan Notification
- On Time Notification
- Persistent Notification
- Dependencies:
- Create an
app_<lang_code>.arb
(e.g. app_ar.arb) file inminimal_adhan/locales/langs
- Copy contents of
minimal_adhan/locales/langs/app_lang_template.arb
to the newly created file. - Fill up the translations. You can find both description and english keyword/sentence in the description param of the keys. e.g: From:
- Create an
app_<lang_code>.dart
(keep the name same as the .arb file). import 'package:minimal_adhan/models/app_local.dart';
- Create a new class here named
Locale<LanguageName>
(e.g. LocaleArabic) and extend theAppLocale
class: - Create a const constructor and pass the language code to the super block:
const LocaleArabic(): super('ar');
- Ovveride getter languageName :
- Ovveride getter duaElementsAvailable (This tells the app if there is dua translations/transliterations available for this language):
- Ovveride the getter fontFamily (This is nullable and only return value if font is added to this app (see 'Add Custom Fonts' section ). otherwise, return null):
- Ovveride the function
TextTheme getTextTheme(BuildContext context)
and return a textTheme(it can be a default one i.e.Theme.of(context).textTheme
or a modified one.): - Arabic - Musaab Brother
- Bangla - Rhyme Rubayet
- Islam icons created by Freepik - Flaticon
- Mosque icons created by Freepik - Flaticon
- Compass icons created by Freepik - Flaticon
- Tasbih icons created by Freepik - Flaticon
- Quran icons created by kmg design - Flaticon
- Dua icons created by shmai - Flaticon
- Settings icons created by Freepik - Flaticon
- Quran icons created by Andrean Prabowo - Flaticon
- Gps icons created by adrianadam - Flaticon
- Warning icons created by Freepik - Flaticon
- Random icons created by Bamicon - Flaticon
- Mosque icons created by Freepik - Flaticon
- Fajr icons created by Freepik - Flaticon
- Cultures icons created by Freepik - Flaticon
- Asr icons created by Freepik - Flaticon
- Maghrib icons created by Freepik - Flaticon
- Isha icons created by Freepik - Flaticon
- Sunrise icons created by Slidicon - Flaticon
- Nearby icons created by Fuzzee - Flaticon
{
"@__________________________________________Global_Page": {
},
"locale": "",
"@locale": {
"description": "Name of Locale.",
"eg_english": "en"
},
"direction": "",
"@direction": {
"description": "Language direction - Either Left-To-Right (ltr) or Right-To-left(rtl).",
"eg_english": "ltr"
},
"current_lang": "",
"@current_lang": {
"description": "Name of this language in its language",
"eg_english": "English"
},
To:
{
"@__________________________________________Global_Page": {
},
"locale": "ar",
"@locale": {
"description": "Name of Locale.",
"eg_english": "en"
},
"direction": "rlt",
"@direction": {
"description": "Language direction - Either Left-To-Right (ltr) or Right-To-left(rtl).",
"eg_english": "ltr"
},
"current_lang": "العربية",
"@current_lang": {
"description": "Name of this language in its language",
"eg_english": "English"
},
"one": "١",
"@one": {
"description": "Translation of the digit 1",
"eg_english": "1"
},
class LocaleArabic extends AppLocale{
}
@override
String get languageName => '(Beta) عربى';
@override
bool get duaElementsAvailable => false;
@override
String? get fontFamily => 'lateef';
@override
TextTheme getTextTheme(BuildContext context){
return context.textTheme
.copyWith(
headline1: context.textTheme.headline1?.copyWith(height: 1.0),
headline5: context.textTheme.headline5?.copyWith(
height: 1.0,
),
headline6: context.textTheme.headline6?.copyWith(
height: 1.5,
),
)
.apply(
fontFamily: fontFamily,
);
}
Mosque icons created by Freepik - Flaticon
Full readme would be available as soon as the project hits stable stage.