quran_library 0.2.0 copy "quran_library: ^0.2.0" to clipboard
quran_library: ^0.2.0 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.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:quran_library/quran.dart';

void main() => runApp(
      GetMaterialApp(
        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 const QuranLibraryScreen(
      isDark: false,
      showAyahBookmarkedIcon: true,
      ayahIconColor: Color(0xffcdad80),
      backgroundColor: Colors.white,
      textColor: Colors.black,
      isFontsLocal: false,
      // fontsName: 'page1',
    );
  }
}
49
likes
80
points
1.03k
downloads

Publisher

verified publisheralheekmahlib.com

Weekly Downloads

An integrated package for displaying the Holy Qur’an identical to the Medina Quran with the narration of Hafs on the authority of Asim.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

another_xlider, archive, dio, drift, drift_flutter, flutter, flutter_svg, get, get_storage, http, path, path_provider, square_percent_indicater

More

Packages that depend on quran_library