quran 1.0.4
quran: ^1.0.4 copied to clipboard
Full Quran text and juz, surah, verses, place of revelation details etc.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:quran/quran.dart' as quran;
void main() {
getVerses() {
String verses = "";
for (int i = 0; i < quran.getVerseCount(18); i++) {
verses += quran.getVerse(18, i + 1);
}
return verses;
}
runApp(MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text("Quran Demo"),
),
body: SafeArea(
child: Padding(
padding: EdgeInsets.all(15.0),
child: Text(getVerses()),
),
),
),
));
}