Skip to content
pubscout

quran

1.4.1, released a year ago by aqeelshamz.com

Quran text, translations, audio URLs, and metadata for Flutter apps

WASM-ready
$ flutter pub add quran
Source repository

What it does

Provides Quran text in Arabic, translations in multiple languages, audio streaming URLs, and lookup details for pages, juz, surah, ayah, and place of revelation. Also includes search functionality and helper constants.

AI-written summary of version 1.4.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Building an Islamic or Quranic application in Flutter
  • Displaying Quranic text, translations, or metadata like Juz and Surah details
  • Fetching audio recitation URLs for verses and surahs

Skip it when

  • You need complete offline audio file management or downloading features rather than just URLs
  • You require complex Quran page layout rendering engines beyond standard text/font display

Strengths

  • Comprehensive coverage of Quran text, metadata, and multiple language translations
  • Built-in audio URL helpers supporting various reciters and bitrates
  • Zero heavy native configuration required

Weaknesses

  • Does not handle audio playback directly, only provides URLs
  • Relies on external packages like google_fonts for proper text display rendering

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Add the package to pubspec.yaml and optionally configure google_fonts for proper rendering of Arabic text.

import 'package:quran/quran.dart' as quran;

void main() {
  print(quran.getSurahName(18));
  print(quran.getVerse(18, 1));
}

Alternatives

Packages that do the same job and could replace quran.

  • localization

    Simplify in-app translations using JSON files or maps with string extensions.

Works with

Packages commonly used together with quran: ones it builds on, ones built on it, and its own family.