phoenix_selection 1.0.4
phoenix_selection: ^1.0.4 copied to clipboard
phoenix 将做为企业级基础组件:Selection组件,提供项目支持。
We analyzed this package 14 days ago, and awarded it 120 pub points (of a possible 160):
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 50 to 180 characters to describe the package, what it does, and its target use case.
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.
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: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
268 out of 463 API elements (57.9 %) have documentation comments.
Some symbols that are missing documentation: filter_entity, filter_entity.ItemEntity, filter_entity.ItemEntity.ItemEntity.fromJson, filter_entity.ItemEntity.ItemEntity.new, filter_entity.ItemEntity.key.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional 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 187 issues. Showing the first 2:
INFO: Unnecessary 'this.' qualifier.
lib/bean/filter_entity.dart:8:51
╷
8 │ ItemEntity.fromJson(Map<String, dynamic> map) : this.name = '' {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/bean/filter_entity.dart
INFO: Unnecessary constructor invocation.
lib/bean/selection_common_entity.dart:132:25
╷
132 │ originalCustomMap = Map();
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/bean/selection_common_entity.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bindings_compatible |
^1.0.1 |
1.0.1 | 1.0.1 | |
phoenix_base |
^1.1.9 |
1.2.4 | 1.2.4 | |
phoenix_btn |
^1.0.8 |
1.1.1 | 1.1.1 | |
phoenix_calendar |
^1.0.0 |
1.0.5 | 1.0.5 | |
phoenix_line |
^1.0.0 |
1.0.1 | 1.0.1 | |
phoenix_picker |
^1.0.0 |
1.0.3 | 1.0.3 | |
phoenix_popup |
^1.0.2 |
1.1.8 | 1.1.8 | |
phoenix_tabbar |
^1.0.2 |
1.0.4 | 1.0.4 | |
phoenix_toast |
^1.0.0 |
1.0.1 | 1.0.1 |
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 | |
intl |
- | 0.18.1 | 0.20.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
phoenix_radio |
- | 1.0.8 | 1.0.8 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
xml |
- | 6.6.1 | 6.6.1 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 4 errors:
UNDEFINED_IDENTIFIER-lib/widget/flat_selection_item.dart:340:5- Undefined name 'PhoenixDatePicker'.UNDEFINED_IDENTIFIER-lib/widget/flat_selection_item.dart:341:21- Undefined name 'DateTimePickerMode'.UNDEFINED_IDENTIFIER-lib/widget/selection_more_item_widget.dart:303:5- Undefined name 'PhoenixDatePicker'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.