imad_flutter 0.0.1
imad_flutter: ^0.0.1 copied to clipboard
Add mushaf to your flutter application easily. A Quran reader library with audio playback, bookmarks, search, and more.
We analyzed this package 4 days ago, and awarded it 100 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
445 out of 931 API elements (47.8 %) have documentation comments.
Some symbols that are missing documentation: imad_flutter.AudioPlayerState.AudioPlayerState.new, imad_flutter.AudioPlayerState.copyWith, imad_flutter.AudioPlayerState.currentChapter, imad_flutter.AudioPlayerState.currentPositionMs, imad_flutter.AudioPlayerState.currentReciterId.
10/10 points: Package has an example
10/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:imad_flutter/imad_flutter.dartthat imports:package:imad_flutter/src/ui/theme/theme_picker_widget.dartthat imports:package:imad_flutter/src/di/core_module.dartthat imports:package:audio_service/audio_service.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:imad_flutter/imad_flutter.dartthat imports:package:imad_flutter/src/ui/theme/theme_picker_widget.dartthat imports:package:imad_flutter/src/di/core_module.dartthat imports:package:audio_service/audio_service.dartthat declares support for platforms:Android,iOS,macOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Web`.
Because:
package:imad_flutter/imad_flutter.dartthat imports:package:imad_flutter/src/ui/theme/theme_picker_widget.dartthat imports:package:imad_flutter/src/di/core_module.dartthat imports:package:audio_service/audio_service.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/file_system/file_system.dartthat imports:package:flutter_cache_manager/src/storage/file_system/file_system_io.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:imad_flutter/imad_flutter.dartthat imports:package:imad_flutter/src/ui/theme/theme_picker_widget.dartthat imports:package:imad_flutter/src/di/core_module.dartthat imports:package:audio_service/audio_service.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/web/web_helper.dartthat imports:package:flutter_cache_manager/src/cache_store.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 610 issues. Showing the first 2:
WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.
lib/src/ui/mushaf/quran_page_widget.dart:167:71
╷
167 │ "Calling onVerseTap with chapter: ${target?.chapter}, verse: ${target?.number}",
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/mushaf/quran_page_widget.dart
WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.
lib/src/ui/mushaf/quran_page_widget.dart:167:98
╷
167 │ "Calling onVerseTap with chapter: ${target?.chapter}, verse: ${target?.number}",
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/mushaf/quran_page_widget.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
audio_service |
^0.18.18 |
0.18.18 | 0.18.18 | |
flutter_svg |
^2.2.3 |
2.2.4 | 2.2.4 | |
get_it |
^8.0.3 |
8.3.0 | 9.2.1 | |
hive |
^2.2.3 |
2.2.3 | 2.2.3 | |
hive_flutter |
^1.1.0 |
1.1.0 | 1.1.0 | |
just_audio |
^0.10.5 |
0.10.5 | 0.10.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
audio_service_platform_interface |
- | 0.1.3 | 0.1.3 | |
audio_service_web |
- | 0.1.4 | 0.1.4 | |
audio_session |
- | 0.2.3 | 0.2.3 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_cache_manager |
- | 3.4.1 | 3.4.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.2 | 1.0.2 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
just_audio_platform_interface |
- | 4.6.0 | 4.6.0 | |
just_audio_web |
- | 0.4.16 | 0.4.16 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
native_toolchain_c |
- | 0.17.6 | 0.17.6 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
sqflite |
- | 2.4.2 | 2.4.2 | |
sqflite_android |
- | 2.4.2+3 | 2.4.2+3 | |
sqflite_common |
- | 2.5.6 | 2.5.6 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.3 | 4.5.3 | |
vector_graphics |
- | 1.1.20 | 1.1.20 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.2.0 | 1.2.0 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^8.0.3` on get_it does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions get_it to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
UNDEFINED_GETTER-lib/src/data/audio/flutter_audio_player.dart:30:23- The getter 'value' isn't defined for the type 'BehaviorSubject
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.11, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.