An Al Qur'an App with audio and interpretation for each surahs and verses of Al Qur'an.
The architecture used is MVVM, where state management uses Getx. GetX is an extra-light and powerful solution for Flutter. It combines high-performance state management, intelligent dependency injection, and route management quickly and practically.
- Getx Installation
Run this command :
$ flutter pub add get
- Getx Documentation :
https://pub.dev/packages/get
model : the core data flow in architecture
repository : contains files that connect the App with the API
theme : to set the App theme
util : helpers that can be used in various parts of the App
view : contains App pages
viewModel : to organize App logic and logic to obtain APIs
widget : for custom widgets and reusable widgets
audioplayers is a Flutter plugin to play multiple simultaneously audio files, works for Android, iOS, Linux, macOS, Windows, and web.
- Installation
Run this command :
$ flutter pub add audioplayers
- Getting Started
import 'package:audioplayers/audioplayers.dart';
// ...
final player = AudioPlayer();
await player.play(UrlSource('https://example.com/my-audio.wav'));
- Documentation :
https://pub.dev/packages/audioplayers