quran_library 0.1.3
quran_library: ^0.1.3 copied to clipboard
An integrated package for displaying the Holy Qur’an identical to the Medina Quran with the narration of Hafs on the authority of Asim.
import 'package:flutter/material.dart';
import 'package:quran_library/quran_library.dart';
void main() => runApp(
MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(
primaryColor: Colors.blue,
useMaterial3: false,
),
home: const MyApp(),
),
);
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
QuranLibrary().init();
super.initState();
}
@override
Widget build(BuildContext context) {
return QuranLibraryScreen(
isDark: false,
showAyahBookmarkedIcon: true,
ayahIconColor: Color(0xffcdad80),
backgroundColor: Colors.white,
textColor: Colors.black,
);
}
}
copied to clipboard