cdx_components 0.7.31 copy "cdx_components: ^0.7.31" to clipboard
cdx_components: ^0.7.31 copied to clipboard

A set of components, utils and extensions helpful to solve many problems.

130/ 160
pub points
441
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting cdx_components... Discovering libraries... Linking elements... Precaching local docs for 1264606 elements... Initialized dartdoc with 1957 libraries Generating docs for library utils/debouncer.dart from package:cdx_components/utils/debouncer.dart... Generating docs for library utils/numeric_range_formatter.dart from package:cdx_components/utils/numeric_range_formatter.dart... Generating docs for library utils/extensions.dart from package:cdx_components/utils/extensions.dart... Generating docs for library widgets/multi_image.dart from package:cdx_components/widgets/multi_image.dart... Generating docs for library widgets/item_list/default_settings_row.dart from package:cdx_components/widgets/item_list/default_settings_row.dart... [55 more lines] ERR: warning: cdxcomponents has no library level documentation comments from cdxcomponents: (file:///tmp/pana_RALWXY/lib/utils/extensions.dart:1:1) warning: cdxcomponents has no library level documentation comments from cdxcomponents: (file:///tmp/pana_RALWXY/lib/widgets/multi_image.dart:1:1) error: file already written at "cdxcomponents/index.html" for symbol cdxcomponents: (file:///tmp/pana_RALWXY/lib/widgets/multi_image.dart:1:1) conflicting with file already generated by cdxcomponents: (file:///tmp/pana_RALWXY/lib/utils/extensions.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'cdxcomponents' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [601 more lines]

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:cdx_components/core/services/app/iapp_service.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:cdx_components/core/services/app/iapp_service.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:cdx_components/core/services/app/iapp_service.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

Because:

  • package:cdx_components/core/services/app/iapp_service.dart that imports:
  • package:cdx_components/injector.dart that imports:
  • package:cdx_components/core/services/app/imedia_service.dart that imports:
  • dart:io

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:cdx_components/core/services/cloud/crud_service.dart that imports:
  • package:cdx_components/utils/extensions.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:cdx_components/core/services/cloud/crud_service.dart that imports:
  • package:cdx_components/utils/extensions.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:cdx_components/core/services/app/iapp_service.dart that imports:
  • package:cdx_components/injector.dart that imports:
  • package:cdx_components/core/services/app/imedia_service.dart that 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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 35 issues. Showing the first 2:

INFO: The type parameter name 'int' matches a visible type name.

lib/core/models/result.dart:3:14

  ╷
3 │ class Result<int, String, T> {
  │              ^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/models/result.dart

INFO: The type parameter name 'String' matches a visible type name.

lib/core/models/result.dart:3:19

  ╷
3 │ class Result<int, String, T> {
  │                   ^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/models/result.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
auto_route ^9.2.0 9.3.0+1 10.1.2
file_picker ^8.0.0+1 8.3.7 10.3.3
flutter_colorpicker ^1.0.3 1.1.0 1.1.0
flutter_svg ^2.0.10+1 2.2.1 2.2.1
fluttertoast ^8.2.4 8.2.14 9.0.0
get_it ^7.6.8 7.7.0 8.2.0
http ^1.2.1 1.5.0 1.5.0
image_picker ^1.0.7 1.2.0 1.2.0
intl ^0.18.1 0.18.1 0.20.2
json_annotation ^4.8.1 4.9.0 4.9.0
keyboard_actions ^4.2.0 4.2.0 4.2.0
lottie ^3.1.0 3.3.2 3.3.2
nanoid ^1.0.0 1.0.0 1.0.0
rxdart ^0.28.0 0.28.0 0.28.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
file_selector_linux - 0.9.3+2 0.9.3+2
file_selector_macos - 0.9.4+4 0.9.4+4
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+4 0.9.3+4
flutter_plugin_android_lifecycle - 2.0.31 2.0.31
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.13+4 0.8.13+4
image_picker_for_web - 3.1.0 3.1.0
image_picker_ios - 0.8.13 0.8.13
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2 0.2.2
image_picker_platform_interface - 2.11.0 2.11.0
image_picker_windows - 0.2.2 0.2.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
petitparser - 7.0.1 7.0.1
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.3 6.0.3
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_graphics - 1.1.19 1.1.19
vector_graphics_codec - 1.1.13 1.1.13
vector_graphics_compiler - 1.1.19 1.1.19
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0
xml - 6.6.1 6.6.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 5 issues. Showing the first 2:

The constraint `^9.2.0` on auto_route does not support the stable version `10.0.0`.

Try running dart pub upgrade --major-versions auto_route to update the constraint.

The constraint `^8.0.0+1` on file_picker does not support the stable version `9.0.0`.

Try running dart pub upgrade --major-versions file_picker to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
130
points
441
downloads

Publisher

unverified uploader

Weekly Downloads

A set of components, utils and extensions helpful to solve many problems.

Homepage

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

auto_route, file_picker, flutter, flutter_colorpicker, flutter_svg, fluttertoast, get_it, http, image_picker, intl, json_annotation, keyboard_actions, lottie, nanoid, rxdart

More

Packages that depend on cdx_components