global 0.0.51 copy "global: ^0.0.51" to clipboard
global: ^0.0.51 copied to clipboard

PlatformAndroid

The package provides all the basic global features and utilities that one would require while developing a flutter project.

1
likes
110/ 160
pub points
1.11k
downloads

We analyzed this package 23 hours ago, and awarded it 110 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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

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

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

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

5325 out of 6292 API elements (84.6 %) have documentation comments.

Some symbols that are missing documentation: global, global.ASN1DERDecoder, global.ASN1DERDecoder.ASN1DERDecoder.new, global.ASN1DERDecoder.decode, global.ASN1DERDecoder.getContentLength.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:global/global.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:global/global.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:global/global.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:global/global.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `Web`.

Because:

  • package:global/global.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:global/global.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:global/global.dart that imports:
  • package:global/src/GUtils.dart that imports:
  • dart:isolate

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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

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

Found 38 issues. Showing the first 2:

WARNING: This default clause is covered by the previous cases.

lib/src/GPageTransition.dart:215:7

    ╷
215 │       default:
    │       ^^^^^^^
    ╵
copied to clipboard

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

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: GAlertDialog.actionText

lib/src/dialogs/GAlertDialog.dart:4:7

4class GAlertDialog extends GDialog {
  │       ^^^^^^^^^^^^
  ╵
copied to clipboard

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

Partially passed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
android_path_provider ^0.3.0 0.3.1 0.3.1
device_info_plus ^9.1.2 9.1.2 11.3.3
flutter_downloader ^1.11.6 1.12.0 1.12.0
flutter_inappwebview ^6.0.0 6.1.5 6.1.5
flutter_svg ^2.0.9 2.0.17 2.0.17
fluttertoast ^8.2.4 8.2.12 8.2.12
http ^1.2.1 1.3.0 1.3.0
intl ^0.19.0 0.19.0 0.20.2
path_provider ^2.1.2 2.1.5 2.1.5
permission_handler ^11.3.0 11.4.0 12.0.0+1
url_launcher ^6.2.4 6.3.1 6.3.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
device_info_plus_platform_interface - 7.0.2 7.0.2
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
flutter_inappwebview_android - 1.1.3 1.1.3
flutter_inappwebview_internal_annotations - 1.2.0 1.2.0
flutter_inappwebview_ios - 1.1.2 1.1.2
flutter_inappwebview_macos - 1.1.2 1.1.2
flutter_inappwebview_platform_interface - 1.3.0+1 1.3.0+1
flutter_inappwebview_web - 1.1.2 1.1.2
flutter_inappwebview_windows - 0.6.0 0.6.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.2.16 2.2.16
path_provider_foundation - 2.4.1 2.4.1
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
petitparser - 6.1.0 6.1.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
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.15 6.3.15
url_launcher_ios - 6.3.3 6.3.3
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.0 2.4.0
url_launcher_windows - 3.1.4 3.1.4
vector_graphics - 1.1.18 1.1.18
vector_graphics_codec - 1.1.13 1.1.13
vector_graphics_compiler - 1.1.16 1.1.16
vector_math - 2.1.4 2.1.4
web - 1.1.1 1.1.1
win32 - 5.12.0 5.12.0
win32_registry - 1.1.5 2.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

Found 3 issues. Showing the first 2:

The constraint `^9.1.2` on device_info_plus does not support the stable version `10.0.0`.

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

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 10Aug 7Sep 4Oct 2Oct 30Nov 27Dec 25Jan 22Feb 19Mar 19050100150200250300350400>=0.0.0-0 <1.0.0
1
likes
110
points
1.11k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.25 - 2025.04.09

The package provides all the basic global features and utilities that one would require while developing a flutter project.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

android_path_provider, device_info_plus, flutter, flutter_downloader, flutter_inappwebview, flutter_svg, fluttertoast, http, intl, path_provider, permission_handler, url_launcher

More

Packages that depend on global