cool_ext 1.0.2
cool_ext: ^1.0.2 copied to clipboard
Cool Flutter Package with cool Utilities and Extensions for Easy and Pretty Coding
We analyzed this package 23 days ago, and awarded it 95 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
pubspec.yaml from the repository URL mismatch: expected https://gitlab.com/adithyank/flutter_cool_ext but got https://gitlab.com/adithyank/cool_ext.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: cool_ext, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.0.2").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
3 out of 114 API elements (2.6 %) 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: buildcontextext, buildcontextext.ContextExt, buildcontextext.ContextExt.landscape, buildcontextext.ContextExt.mediaQuery, buildcontextext.ContextExt.navigator.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:cool_ext/cool_ext.dartthat imports:package:cool_ext/uiutil.dartthat imports:package:cool_ext/toaster.dartthat imports:package:fluttertoast/fluttertoast.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:cool_ext/cool_ext.dartthat imports:package:cool_ext/uiutil.dartthat imports:package:cool_ext/toaster.dartthat imports:package:fluttertoast/fluttertoast.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:cool_ext/cool_ext.dartthat imports:package:cool_ext/uiutil.dartthat imports:package:cool_ext/toaster.dartthat imports:package:fluttertoast/fluttertoast.dartthat declares support for platforms:Android,iOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:cool_ext/cool_ext.dartthat imports:package:cool_ext/uiutil.dartthat imports:package:cool_ext/toaster.dartthat imports:package:fluttertoast/fluttertoast.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:cool_ext/cool_ext.dartthat imports:package:cool_ext/uiutil.dartthat imports:package:cool_ext/toaster.dartthat imports:package:fluttertoast/fluttertoast.dartthat imports:dart:io
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
INFO: Use 'const' with the constructor to improve performance.
lib/uiutil.dart:230:73
╷
230 │ TextButton(onPressed: () => context.navigator.pop(), child: Text('Cancel'))
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/uiutil.dart
/tmp/pana_YRGYLV/lib/buildcontextext.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
fluttertoast |
^8.2.2 |
8.2.14 | 9.0.0 | |
intl |
^0.18.1 |
0.18.1 | 0.20.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^8.2.2` on fluttertoast does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions fluttertoast to update the constraint.
The constraint `^0.18.1` on intl does not support the stable version `0.19.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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.