mhu_flutter_commons 1.0.5 copy "mhu_flutter_commons: ^1.0.5" to clipboard
mhu_flutter_commons: ^1.0.5 copied to clipboard

Commons utilities used in my Flutter projects

1
likes
70/ 160
pub points
136
downloads

We analyzed this package 22 hours ago, and awarded it 70 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.

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: MIT.

failed
Provide documentation
0 / 20trigger folding of the section

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

19 out of 453 API elements (4.2 %) 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: mhu_flutter_commons, mhu_flutter_commons.AppBuildContextX, mhu_flutter_commons.AppBuildContextX.popper, mhu_flutter_commons.AppBuildContextX.showException, mhu_flutter_commons.AppBuildContextX.showMessage.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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:mhu_flutter_commons/mhu_flutter_commons.dart that imports:
  • package:mhu_flutter_commons/src/model_editor.dart that imports:
  • package:mhu_flutter_commons/src/pb_fw_edit/proto_edit_frp.dart that imports:
  • package:mhu_flutter_commons/src/app.dart that imports:
  • package:mhu_flutter_commons/src/model.dart that imports:
  • package:mhu_dart_model/mhu_dart_model.dart that imports:
  • package:mhu_dart_model/proto.dart that imports:
  • package:mhu_dart_model/src/generated/mhu_dart_model.pbfield.dart that imports:
  • package:mhu_dart_commons/commons.dart that imports:
  • package:mhu_dart_commons/src/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 28 issues. Showing the first 2:

ERROR: The named parameter 'disposers' isn't defined.

lib/src/pb_fw_edit/builder.dart:93:13

   ╷
93 │             disposers: disposers,
   │             ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/pb_fw_edit/builder.dart

ERROR: The named parameter 'disposers' isn't defined.

lib/src/pb_fw_edit/field/message.dart:11:15

   ╷
11 │               disposers: disposers,
   │               ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/pb_fw_edit/field/message.dart

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

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

Package Constraint Compatible Latest
collection ^1.17.1 1.19.0 1.19.1
decimal ^2.3.3 2.3.3 3.1.0
fast_immutable_collections ^9.1.5 9.2.1 11.0.0
fixnum ^1.1.0 1.1.1 1.1.1
flutter flutter 0.0.0 0.0.0
flutter_colorpicker ^1.0.3 1.1.0 1.1.0
flutter_svg ^2.0.7 2.0.16 2.0.16
go_router ^9.0.3 9.1.1 14.6.2
image ^4.0.17 4.5.2 4.5.2
intl ^0.18.1 0.18.1 0.20.1
isar ^3.1.0+1 3.1.0+1 3.1.0+1
logger ^1.4.0 1.4.0 2.5.0
mhu_dart_commons ^1.0.8 1.0.9 1.0.9
mhu_dart_model ^1.0.2 1.0.2 1.0.2
mhu_dart_proto ^1.0.2 1.0.3 1.0.3
protobuf ^3.0.0 3.1.0 3.1.0
recase ^4.1.0 4.1.0 4.1.0
rxdart ^0.27.7 0.27.7 0.28.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 4.0.2 4.0.2
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 2.4.4 2.4.4
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
petitparser - 6.0.2 6.0.2
posix - 6.0.1 6.0.1
rational - 2.2.3 2.2.3
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
timeago - 3.7.0 3.7.0
typed_data - 1.4.0 1.4.0
vector_graphics - 1.1.15 1.1.15
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.16 1.1.16
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

Found 6 issues. Showing the first 2:

The constraint `^2.3.3` on decimal does not support the stable version `3.0.0`.

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

The constraint `^9.1.5` on fast_immutable_collections does not support the stable version `10.0.0`.

Try running dart pub upgrade --major-versions fast_immutable_collections 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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.