new_version 0.3.1
new_version: ^0.3.1 copied to clipboard
Check if your user has the most recent version of your Flutter app.
We analyzed this package in the last hour, and awarded it 130 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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
14 out of 17 API elements (82.4 %) have documentation comments.
Some symbols that are missing documentation: new_version, new_version.NewVersion, new_version.NewVersion.NewVersion.new.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:new_version/new_version.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
WARNING: This function has a nullable return type of 'FutureOr
lib/new_version.dart:103:26
╷
103 │ Future<VersionStatus?> getVersionStatus() async {
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/new_version.dart
INFO: Missing type annotation.
lib/new_version.dart:93:3
╷
93 │ showAlertIfNecessary({required BuildContext context}) async {
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/new_version.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
html |
^0.15.0 |
0.15.6 | 0.15.6 | |
http |
^0.13.1 |
0.13.6 | 1.6.0 | |
package_info_plus |
^1.0.0 |
1.4.3+1 | 10.1.0 | |
url_launcher |
^6.0.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 | |
csslib |
- | 1.0.2 | 1.0.2 | |
ffi |
- | 2.2.0 | 2.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.3 | |
package_info_plus_linux |
- | 1.0.5 | 2.0.0 | Discontinued |
package_info_plus_macos |
- | 1.3.0 | 2.0.0 | Discontinued |
package_info_plus_platform_interface |
- | 1.0.2 | 4.1.0 | |
package_info_plus_web |
- | 1.0.6 | 2.0.0 | Discontinued |
package_info_plus_windows |
- | 2.1.0 | 3.0.0 | Discontinued |
path |
- | 1.9.1 | 1.9.1 | |
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.32 | 6.3.32 | |
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.3 | 2.4.3 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.4.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 3.1.4 | 6.3.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.13.1` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http to update the constraint.
The constraint `^1.0.0` on package_info_plus does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions package_info_plus 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.23.12, Flutter 3.44.2, Dart 3.12.2.
Check the analysis log for details.