flutter_quran 0.0.2 flutter_quran: ^0.0.2 copied to clipboard
A Quran Package you can put in your app and it will work without the need for any other resources.
import 'package:flutter/material.dart';
import 'package:flutter_quran/flutter_quran.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() {
FlutterQuran().init();
super.initState();
}
@override
Widget build(BuildContext context) {
return const FlutterQuranScreen();
}
}