global 0.0.51 global: ^0.0.51 copied to clipboard
The package provides all the basic global features and utilities that one would require while developing a flutter project.
We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
-
pubspec.yaml
doesn't have ahomepage
entry. -
pubspec.yaml
doesn't have arepository
entry.
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
5323 out of 6123 API elements (86.9 %) have documentation comments.
Some symbols that are missing documentation: global
, global.ASN1DERDecoder
, global.ASN1DERDecoder.ASN1DERDecoder
, global.ASN1DERDecoder.decode
, global.ASN1DERDecoder.getContentLength
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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
.
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.
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:
│ ^^^^^^^
╵
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
╷
4 │ class GAlertDialog extends GDialog {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/dialogs/GAlertDialog.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
android_path_provider |
^0.3.0 |
0.3.0 | 0.3.0 |
device_info_plus |
^9.1.2 |
9.1.2 | 11.2.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_downloader |
^1.11.6 |
1.11.8 | 1.11.8 |
flutter_inappwebview |
^6.0.0 |
6.1.5 | 6.1.5 |
flutter_svg |
^2.0.9 |
2.0.16 | 2.0.16 |
fluttertoast |
^8.2.4 |
8.2.10 | 8.2.10 |
http |
^1.2.1 |
1.2.2 | 1.2.2 |
intl |
^0.19.0 |
0.19.0 | 0.20.1 |
path_provider |
^2.1.2 |
2.1.5 | 2.1.5 |
permission_handler |
^11.3.0 |
11.3.1 | 11.3.1 |
url_launcher |
^6.2.4 |
6.3.1 | 6.3.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.
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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.