mzgs_flutter_helper 0.0.147 copy "mzgs_flutter_helper: ^0.0.147" to clipboard
mzgs_flutter_helper: ^0.0.147 copied to clipboard

Flutter helper library for ui, file download , list files, in app purchase and subscription

45/ 160
pub points
655
downloads

We analyzed this package 2 days ago, and awarded it 45 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.0.147").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

4 out of 232 API elements (1.7 %) 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: AdmobHelper, AdmobHelper.AdmobHelper, AdmobHelper.AdmobHelper.AdmobHelper.new, AdmobHelper.AdmobHelper.bannerAdUnitId, AdmobHelper.AdmobHelper.getBannerView.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 31 issues. Showing the first 2:

ERROR: The argument type 'Map

lib/flutter_helper.dart:55:46

   ╷
55 │   analytics.logEvent(name: name, parameters: parameters);
   │                                              ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_helper.dart

WARNING: This function has a nullable return type of 'FutureOr

lib/flutter_helper.dart:290:26

    ╷
290 │   static Future<String?> getDeviceId() async {
    │                          ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_helper.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
device_info_plus any 10.1.2 12.3.0
dio ^5.1.1 5.9.2 5.9.2
event_bus ^2.0.0 2.0.1 2.0.1
firebase_analytics any 11.3.0 12.1.3
firebase_core any 3.4.0 4.5.0
flutter_asa_attribution ^0.0.3 0.0.4 1.0.0
get ^4.6.6 4.7.3 4.7.3
get_storage ^2.1.1 2.1.1 2.1.1
google_mobile_ads ^5.1.0 5.3.1 7.0.0
html ^0.15.4 0.15.6 0.15.6
http any 1.6.0 1.6.0
icloud_kv_storage ^0.0.1 0.0.1 0.0.1
in_app_review ^2.0.9 2.0.11 2.0.11
intl ^0.19.0 0.19.0 0.20.2
package_info_plus any 9.0.0 9.0.0
path_provider any 2.1.5 2.1.5
permission_handler ^11.0.0 11.4.0 12.0.1
rating_dialog ^2.0.4 2.0.4 2.0.4
share_plus ^9.0.0 9.0.0 12.0.1
storekit2helper ^0.0.12 0.0.12 0.0.12
url_launcher ^6.1.10 6.3.2 6.3.2
webview_flutter ^4.4.2 4.13.1 4.13.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.41 1.3.67
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
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
cross_file - 0.3.5+2 0.3.5+2
crypto - 3.0.7 3.0.7
csslib - 1.0.2 1.0.2
device_info_plus_platform_interface - 7.0.3 7.0.3
dio_web_adapter - 2.1.2 2.1.2
fake_async - 1.3.3 1.3.3
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
firebase_analytics_platform_interface - 4.2.2 5.0.7
firebase_analytics_web - 0.5.9+2 0.6.1+3
firebase_core_platform_interface - 5.4.2 6.0.2
firebase_core_web - 2.17.5 3.5.0
fixnum - 1.1.1 1.1.1
flutter_rating_bar - 4.0.1 4.0.1
glob - 2.1.3 2.1.3
hooks - 1.0.2 1.0.2
http_parser - 4.1.2 4.1.2
in_app_review_platform_interface - 2.0.5 2.0.5
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
logging - 1.3.0 1.3.0
matcher - 0.12.19 0.12.19
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
mime - 1.0.6 2.0.0
native_toolchain_c - 0.17.5 0.17.5
objective_c - 9.3.0 9.3.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path - 1.9.1 1.9.1
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
permission_handler_android - 12.1.0 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.0 2.2.0
share_plus_platform_interface - 4.0.0 6.1.0
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.10 0.7.10
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.28 6.3.28
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
uuid - 4.5.3 4.5.3
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
web - 0.5.1 1.1.1
webview_flutter_android - 4.10.13 4.10.13
webview_flutter_platform_interface - 2.14.0 2.14.0
webview_flutter_wkwebview - 3.24.0 3.24.0
win32 - 5.15.0 6.0.0
win32_registry - 1.1.5 3.0.2
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 5 issues. Showing the first 2:

The constraint `^0.0.3` on flutter_asa_attribution does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions flutter_asa_attribution to update the constraint.

The constraint `^5.1.0` on google_mobile_ads does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions google_mobile_ads to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/flutter_helper.dart:55:46 - The argument type 'Map<String, Object?>?' can't be assigned to the parameter type 'Map<String, dynamic>'.
  • UNDEFINED_GETTER - lib/flutter_helper.dart:104:35 - The getter 'instance' isn't defined for the type 'FirebaseAnalytics'.
  • RETURN_OF_INVALID_TYPE - lib/flutter_helper.dart:136:14 - A value of type 'String?' can't be returned from the method 'getDeviceName' because it has a return type of 'Future

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.10, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: