phoenix_selection 1.0.3 copy "phoenix_selection: ^1.0.3" to clipboard
phoenix_selection: ^1.0.3 copied to clipboard

phoenix 将做为企业级基础组件:Selection组件,提供项目支持。

1
likes
120/ 160
pub points
27
downloads

We analyzed this package 4 days ago, and awarded it 120 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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.

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.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

268 out of 423 API elements (63.4 %) have documentation comments.

Some symbols that are missing documentation: filter_entity, filter_entity.ItemEntity, filter_entity.ItemEntity.ItemEntity, filter_entity.ItemEntity.ItemEntity.fromJson, filter_entity.ItemEntity.key.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 30 issues. Showing the first 2:

INFO: The referenced identifier is a wildcard.

lib/bean/selection_common_entity.dart:229:33

    ╷
229 │       if (children.where((_) => _.isSelected).toList().isEmpty) {
    │                                 ^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/bean/selection_common_entity.dart

INFO: The referenced identifier is a wildcard.

lib/bean/selection_common_entity.dart:231:19

    ╷
231 │           return (_.filterType == SelectionFilterType.range ||
    │                   ^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/bean/selection_common_entity.dart

failed
Support up-to-date dependencies
20 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
bindings_compatible ^1.0.1 1.0.1 1.0.1
flutter flutter 0.0.0 0.0.0
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
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
intl - 0.18.1 0.20.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
phoenix_radio - 1.0.8 1.0.8
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4
xml - 6.5.0 6.5.0

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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

1
likes
120
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

phoenix 将做为企业级基础组件:Selection组件,提供项目支持。

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

bindings_compatible, flutter, phoenix_base, phoenix_btn, phoenix_calendar, phoenix_line, phoenix_picker, phoenix_popup, phoenix_tabbar, phoenix_toast

More

Packages that depend on phoenix_selection