quran_library 0.0.7
quran_library: ^0.0.7 copied to clipboard
A Quran Package you can put in your app and it will work without the need for any other resources.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:quran_library/quran_library.dart';
void main() => runApp(
MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(
primaryColor: Colors.blue,
),
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 const QuranLibraryScreen();
}
}