A simple Quran package for flutter with arabic text, english translation, bangla language and pronunciation

Related tags

Templates al_quran
Overview

ওয়াল কুরআ-নিল হাকীম - وَٱلْقُرْءَانِ ٱلْحَكِيم

A simple Quran package for flutter with arabic text, english translation, bangla language and pronunciation. Also available audio link, revelation type and other information.

Platform Support

Android iOS Linux MacOS Web Windows

Inspiration From

Reference

Full quran  ⬥  Sajdah  ⬥  Juz data, Page data  ⬥  Word count, Letter count ...

Getting Started

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:  
    ... 
    al_quran: ^0.0.1+3

Import it:

import 'package:al_quran/al_quran.dart';

Usage Examples

// just call AlQuran object and access all properties  
// NB: use a arabic font if text not show properly  
  
Text("Total Surah: ${AlQuran.quranDetails.count.surah}"),  

For more details, Please visit Example

Objects

you can convert any model to map
it will return a Map
Ex: [Model Name].toJson();

Surah

class Surah {
  // surah number
  final int number;
  
  // surah name in arabic
  final String name;
  
  // surah name in english
  final String englishName;
  
  // surah name translation in english
  final String englishNameTranslation;
  
  // revelationType will Meccan or Medinan
  final RevelationType revelationType;
  
  // total verse or ayat in surah
  final int verse;
  
  // total words in surah
  final int words;
  
  // total char or letters in surah
  final int chars;
  
  // list of ayat / verse
  final List<Ayat> ayahs;
}

Ayat

class Ayat {
  // number of ayat / verse on full quran
  final int number;
  
  // audio link
  // it collect form online. so sometime it will not work
  final String audio;

  // different server audio link 
  // it collect form online. so sometime it will not work
  final List<String> audioSecondary;
  
  // text in arabic
  final String text;
  
  // bangla translation
  final String translateBn;
  
  // verse / ayat number of surah
  final int numberInSurah;
  
  // juz / para number
  final int juz;
  
  // manzil
  final int manzil;
  
  // page number which contains current verse / ayat
  final int page;
  
  // ruku
  final int ruku;
  
  // hizbQuarter
  final int hizbQuarter;
  
  // sajdah returns [false or object]
  final dynamic sajdah;
  
  // bangla pronunciation
  final String pronunciationBn;
  
  // full verse / ayat text separate with words in arabic
  final String wordsArabic;

  // full verse / ayat translation separate with words in bangla
  final String wordsBangla;
}

Sajdah

class Sajdah {
  // count of verse / ayat [1 - 15]
  final int id;
  
  final bool recommended;
  
  final bool obligatory;
}

How to use

AlQuran.[FEATURES].[AVAILABLE PROPERTIES].[PROPERTIES]

/// convert any digit in bangla or arabic

// english 123 to bangla ১২৩
Text(123.bn)

// english 123 to arabic ١٢٣
Text(123.ar)
|―――――――――――――――|―――――――――――――――――――――――――――――――――――|―――――――――――――――――――――――――――――――――――|――――――――――――――――――――――――|
| FEATURES      |  AVAILABLE PROPERTIES             |       PROPERTIES                  |   RETURN TYPE          |
|===============|===================================|===================================|========================|
|  getBismillah |   ar                              |                                   |   String               |
|               |   bn                              |                                   |   String               |
|               |   unicode                         |                                   |   String               |
|---------------|-----------------------------------|-----------------------------------|------------------------|                
|  quranDetails |   getFullQuran                    |                                   |   List          |
|               |-----------------------------------|-----------------------------------|------------------------|
|               |   getFullJuz                      |  bySurah                          |   List>    |
|               |                                   |  byVerse                          |   List>     |
|               |-----------------------------------|-----------------------------------|------------------------|
|               |   getAllSajdahVerse               |  bySurah                          |   List          |
|               |                                   |  byVerse                          |   List           |
|               |-----------------------------------|-----------------------------------|------------------------|
|               |   getFullQuran                    |  getAllVerseByRuku                |   List>     |
|               |-----------------------------------|-----------------------------------|------------------------|
|               |   count                           |  surah                            |   int                  |
|               |                                   |  para / juz                       |   int                  |
|               |                                   |  makkiSurah                       |   int                  |
|               |                                   |  madaniSurah                      |   int                  |
|               |                                   |  verseOfSajdah /  ayatOfSajdah    |   int                  |
|               |                                   |  ruku                             |   int                  |
|               |                                   |  ayat / verse                     |   int                  |
|               |                                   |  page                             |   int                  |
|               |                                   |  words                            |   int                  |
|               |                                   |  surahOnPage(int pageNumber)      |   int                  |
|               |                                   |  verseOnPage(int pageNumber)      |   int                  |
|---------------|-----------------------------------|-----------------------------------|------------------------|
|  surahDetails |   byName                          |                                   |   Surah                |
|               |   bySurahNumber(int surahNumber)  |                                   |   Surah                |
|               |   byJuzNumber(int juzNumber)      |                                   |   List          |
|               |   byVerseNumber(int verseNumber)  |                                   |   Surah                |
|               |   byPageNumber(int pageNumber)    |                                   |   List          |
|---------------|-----------------------------------|-----------------------------------|------------------------|

Request for this package user

If you found any error or bug please report an issue or send me an eMail ASAP.

You might also like...

FIDL(Flutter Interface Definition Language) is a language for transfer objects cross platforms.

FIDL(Flutter Interface Definition Language) is a language for transfer objects cross platforms.

Flutter Interface Definition Language (FIDL) README in English(TODO) FIDL 即 Flutter 接口定义语言,类似于AIDL(Android Interface Definition Language)。您可以利用它定义不同平台

Dec 7, 2022

Eflashcard - Ready to learn a new language? Try this flashcards app that will help you learn the different writing systems of each language

Eflashcard - Ready to learn a new language? Try this flashcards app that will help you learn the different writing systems of each language

Language Flashcards Mobile App Ready to learn a new language? Try this mobile fl

Jan 8, 2022

This is an application to display the Quran, prayer times and remembrances

This is an application to display the Quran, prayer times and remembrances

My Prayer This is an application to display the Quran, prayer times and remembrances Downloads Holy Quran Bookmark Content SealPrayer Pages Ayahs View

Nov 28, 2022

Quran app built with Flutter

Quran app built with Flutter

quran_app Quran app built with Flutter How to build from source You can use global flutter commands as usual, or you can install fvm: Install fvm Inst

Dec 22, 2022

Holy Quran Search Engine by Flutter

Holy Quran Search Engine by Flutter

114 Holy Quran Search App Searching By Word and getting the Surah & the Ayah where the word is located and how many times the word is repeated in qura

Nov 2, 2022

Application of Holy Quran book of Muslims, developed using Flutter & Dart

Application of Holy Quran book of Muslims, developed using Flutter & Dart

The Holy Quran App (القرآن الكريم) Application of the Holy Quran book of Muslims, developed using Flutter & Dart. القران الكريم كاملاً دون اتصال بالان

Dec 22, 2022

This app for read quran in your smartphone

Alqurani This app has release in google play, free Google Play Features List of Surah Translate of surah Tafsir of surah List of daily du'a Contribute

Oct 5, 2022

Read Quran && stay relaxed

Read Quran && stay relaxed

ReadLax What is Readlax? ReadLax is an app that allows users to read Quran with there friends, familly or even other user of the app all around the wo

Dec 26, 2022

Grad text package - A Flutter Widget to draw gradients into text

Grad text package - A Flutter Widget to draw gradients into text

grad_text A Flutter Widget to draw gradients into text.(Null safe) Demo Install

Jan 31, 2022
Owner
Khalid Hassan
Khalid Hassan
Z time ago - A simple Flutter z time ago package used to change date to time ago for english, arabic and kurdish languages

This package is used to get time duration from now and given time for kurdish, a

Zakarya Muhammad 2 May 19, 2022
An app that randomly draws Japanese vocabularies from N5 to N1 level to test your listening skill, providing pronunciation and answer checking.

An app that randomly draws Japanese vocabularies from N5 to N1 level to test your listening skill, providing pronunciation and answer checking.

Eric Lau 13 Jul 17, 2022
Masked text field - A flutter package for masked text field for formet your text and good UI

Masked Text Field Masked Text Field Features A package for masked text field for

Alok Dubey 7 Sep 4, 2022
Text analyzer that extracts tokens from text for use in full-text search queries and indexes.

Tokenize text, compute document readbility and compare terms in Natural Language Processing. THIS PACKAGE IS PRE-RELEASE, and SUBJECT TO DAILY BREAKIN

GM Consult Pty Ltd 5 Dec 12, 2022
A future based dart package for the NLT (New Living Translation) API.

NLT API Bible for Dart A future based dart package for the NLT API from Tyndale which can be used to fetch NLT and KJV bible passages. This package re

Ariel Magbanua 3 Nov 17, 2022
Flutter language pickers2 - Language pickers package for Dart and Flutter

language_pickers2 Notes: Original repository from github.com/gomgom, unfortunate

Charles Dyason 0 Feb 6, 2022
English learning Android application created with Flutter

Hi there ?? welcome to my Github . I'm Hà Huy Hùng ?? Currently studying on TDTU ?? Working on ... Technology & Photographer ✍️ Making some projects u

hà huy hùng 2 Mar 17, 2022
Biyi - a convenient translation and dictionary app written in Flutter

biyi_app Biyi is a convenient translation and dictionary app written in Flutter.

biyidev 892 Dec 28, 2022
A program for Mac, Windows and Linux to manage multiple translation files at once

A program for Mac, Windows and Linux to manage multiple translation files at once. Easy to use UI, multithreaded for optimization and Google Translate natively integrated. NB: At the moment it doesn't support nested translation keys.

Jesper Paulsen 4 Aug 8, 2022
Flutter dynamically load translation in your app.

Flutter dynamically load translation in your app.

null 1 Apr 4, 2022