adhub 0.0.4
adhub: ^0.0.4 copied to clipboard
A Flutter package that simplifies ad integration with a unified API for banner, interstitial, and rewarded ads.
We analyzed this package 47 hours ago, and awarded it 140 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: GPL-3.0.
0/10 points: 20% or more of the public API has dartdoc comments
16 out of 129 API elements (12.4 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: Ads, Ads.Ads, Ads.Ads.Ads.new, Ads.Ads.currentAdIndex, Ads.Ads.failCounter.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ iOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:adhub/adhub.dartthat imports:package:adhub/adplugin/Methods/base_class.dartthat imports:package:adhub/adplugin/Methods/google_init.dartthat imports:package:google_mobile_ads/google_mobile_ads.dartthat imports:package:google_mobile_ads/src/mobile_ads.dartthat imports:package:google_mobile_ads/src/ad_instance_manager.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `Windows`.
Because:
package:adhub/adhub.dartthat imports:package:adhub/adplugin/Utils/Alerts/rate_us.dartthat imports:package:in_app_review/in_app_review.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:adhub/adhub.dartthat imports:package:adhub/adplugin/Utils/Alerts/rate_us.dartthat imports:package:in_app_review/in_app_review.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `macOS`.
Because:
package:adhub/adhub.dartthat imports:package:adhub/adplugin/Methods/base_class.dartthat imports:package:adhub/adplugin/Methods/google_init.dartthat imports:package:google_mobile_ads/google_mobile_ads.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:adhub/adhub.dartthat imports:package:adhub/adplugin/Utils/Alerts/rate_us.dartthat imports:package:in_app_review/in_app_review.dartthat declares support for platforms:Android,iOS,macOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `iOS`.
Because:
package:adhub/adhub.dartthat imports:package:adhub/adplugin/Methods/base_class.dartthat imports:package:adhub/adplugin/Methods/google_init.dartthat imports:package:google_mobile_ads/google_mobile_ads.dartthat imports:package:google_mobile_ads/src/mobile_ads.dartthat imports:package:google_mobile_ads/src/ad_instance_manager.dartthat imports:package:webview_flutter_android/webview_flutter_android.dartthat declares support for platforms:Android.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/adplugin/AdLoader/ad_loader.dart:27:41
╷
27 │ color: Colors.black.withOpacity(0.5),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/adplugin/AdLoader/ad_loader.dart
INFO: The file name 'Ads.dart' isn't a lower_case_with_underscores identifier.
To reproduce make sure you are using the lints_core and run flutter analyze lib/adplugin/Ads/FullScreen/Ads.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
app_tracking_transparency |
^2.0.6 |
2.0.6+1 | 2.0.6+1 | |
applovin_max |
^4.5.2 |
4.6.3 | 4.6.3 | |
dio |
^5.4.0 |
5.9.2 | 5.9.2 | |
flutter_hooks |
^0.21.3+1 |
0.21.3+1 | 0.21.3+1 | |
get |
^4.6.6 |
4.7.3 | 4.7.3 | |
google_mobile_ads |
^7.0.0 |
7.0.0 | 7.0.0 | |
in_app_review |
^2.0.9 |
2.0.11 | 2.0.11 | |
loading_animation_widget |
^1.2.1 |
1.3.0 | 1.3.0 | |
logger |
^2.4.0 |
2.7.0 | 2.7.0 | |
onesignal_flutter |
^5.3.4 |
5.5.0 | 5.5.0 | |
package_info_plus |
^9.0.0 |
9.0.1 | 9.0.1 | |
provider |
^6.1.1 |
6.1.5+1 | 6.1.5+1 | |
url_launcher |
^6.3.2 |
6.3.2 | 6.3.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.1.2 | 2.1.2 | |
ffi |
- | 2.2.0 | 2.2.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
in_app_review_platform_interface |
- | 2.0.5 | 2.0.5 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
mime |
- | 2.0.0 | 2.0.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_android |
- | 6.3.29 | 6.3.29 | |
url_launcher_ios |
- | 6.4.1 | 6.4.1 | |
url_launcher_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_macos |
- | 3.2.5 | 3.2.5 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.2 | 2.4.2 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter |
- | 4.13.1 | 4.13.1 | |
webview_flutter_android |
- | 4.10.15 | 4.10.15 | |
webview_flutter_platform_interface |
- | 2.15.1 | 2.15.1 | |
webview_flutter_wkwebview |
- | 3.24.2 | 3.24.2 | |
win32 |
- | 5.15.0 | 6.0.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.12, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.