dict_flutter_extension 1.0.1
dict_flutter_extension: ^1.0.1 copied to clipboard
为 Flutter Widget 提供常用扩展方法(点击、内边距、居中、尺寸、可见性等),并封装文件操作、页面导航、Widget 构建等工具类,内部项目通用的 Flutter 语法糖工具库。
We analyzed this package 12 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.
Homepage URL doesn't exist.
At the time of the analysis https://www.srdcloud.cn/code/19924/repoView/175233 was unreachable. Make sure that the website is reachable via HEAD requests.
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
22 out of 28 API elements (78.6 %) have documentation comments.
Some symbols that are missing documentation: dict_flutter_extension, dict_flutter_extension.DictFileUtils.DictFileUtils.new, dict_flutter_extension.DictFileUtils.clearCache, dict_flutter_extension.WidgetExt, dict_flutter_extension.back.
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:dict_flutter_extension/dict_flutter_extension.dartthat imports:package:dict_flutter_extension/src/utils/dict_widget_utils.dartthat imports:package:dict_flutter_extension/src/utils/dict_navigator_utils.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/utils/dict_navigator_utils.dart:21:1
╷
21 │ back(BuildContext context, [dynamic data]) {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/dict_navigator_utils.dart
INFO: Missing type annotation.
lib/src/utils/dict_widget_utils.dart:52:1
╷
52 │ hideKeyboard(context) {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/dict_widget_utils.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
vector_math |
- | 2.4.2 | 2.4.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.