toastutils 0.0.1
toastutils: ^0.0.1 copied to clipboard
A new Flutter package.
The package version is not analyzed, because it does not support Dart 3. Until this is resolved, the package will receive a pub score of 0.
We analyzed this package 5 hours ago, and awarded it 20 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/ZRQ1010110087/sputils.git
was unreachable. Make sure that the website is reachable via HEAD
requests.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: toastutils
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Failed to run remote show origin
.
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-2-Clause
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/10 points: Failed to run dartdoc
dartdoc
failed, see task-log.
0/20 points: Platform support detection failed
Could not determine supported platforms as package resolution failed.
Run flutter pub get
for more information.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 13 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'package:shared_preferences/shared_preferences.dart'.
lib/sputils.dart:3:8
╷
3 │ import 'package:shared_preferences/shared_preferences.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/sputils.dart
ERROR: Undefined class 'SharedPreferences'.
lib/sputils.dart:9:5
╷
9 │ SharedPreferences sp = await SharedPreferences.getInstance();
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/sputils.dart
0/10 points: All of the package dependencies are supported in the latest version
Sdk constraint doesn't support current Dart version 3.2.0-134.1.beta. Cannot run `flutter pub outdated`.
pubspec.yaml:7:8
╷
7 │ sdk: ">=2.7.0 <3.0.0"
│ ^^^^^^^^^^^^^^^^
╵
0/10 points: Package supports latest stable Dart and Flutter SDKs
Sdk constraint doesn't support current Dart version 3.2.0-134.1.beta.
pubspec.yaml:7:8
╷
7 │ sdk: ">=2.7.0 <3.0.0"
│ ^^^^^^^^^^^^^^^^
╵
Try widening the upper boundary of the constraint.
The current SDK constraint does not allow the Dart version used by the latest stable Flutter (3.1.2)
pubspec.yaml:7:8
╷
7 │ sdk: ">=2.7.0 <3.0.0"
│ ^^^^^^^^^^^^^^^^
╵
Analysed with Pana 0.21.37
, Flutter 3.13.5
, Dart 3.1.2
.