kangpro_app_common 0.0.45 copy "kangpro_app_common: ^0.0.45" to clipboard
kangpro_app_common: ^0.0.45 copied to clipboard

Common functions for kangpro

90/ 160
pub points
171
downloads

We analyzed this package 2 hours ago, and awarded it 90 pub points (of a possible 160):

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

Failed check 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.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/kangproid/kangpro_app_common was unreachable. Make sure that the website is reachable via HEAD requests.

Failed check 0/5 points: Provide a valid README.md

No `README.md` found.

The README.md file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.0.45").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

Detected license: MIT.

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

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

470 out of 2374 API elements (19.8 %) 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: access_token_response_dto, access_token_response_dto.AccessTokenResponseDto, access_token_response_dto.AccessTokenResponseDto.AccessTokenResponseDto.fromJson, access_token_response_dto.AccessTokenResponseDto.AccessTokenResponseDto.new, access_token_response_dto.AccessTokenResponseDto.accessToken.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 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.cn/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 33 issues. Showing the first 2:

WARNING: Unused import: 'package:kangpro_app_common/features/chat/dto/entity/chat_message_entity/chat_message_entity.dart'.

lib/features/chat/dto/chat_websocket_request/chat_websocket_request.dart:3:8

  ╷
3 │ import 'package:kangpro_app_common/features/chat/dto/entity/chat_message_entity/chat_message_entity.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/features/chat/dto/chat_websocket_request/chat_websocket_request.dart

WARNING: The annotation 'JsonSerializable.new' can only be used on classes.

lib/features/chat/dto/chat_websocket_request/chat_websocket_request.dart:23:4

   ╷
23 │   @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)
   │    ^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/features/chat/dto/chat_websocket_request/chat_websocket_request.dart

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

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

Package Constraint Compatible Latest Notes
dartz ^0.10.1 0.10.1 0.10.1
device_info_plus ^11.5.0 11.5.0 12.1.0
device_marketing_names ^1.1.3 1.1.4 1.1.4
dio ^5.9.0 5.9.0 5.9.0
flutter_bloc ^9.1.1 9.1.1 9.1.1
flutter_dotenv ^6.0.0 6.0.0 6.0.0
flutter_timezone ^4.1.1 4.1.1 5.0.0
fluttertoast ^8.2.12 8.2.14 9.0.0
freezed_annotation ^2.4.4 2.4.4 3.1.0
geocoding ^4.0.0 4.0.0 4.0.0
geolocator ^14.0.2 14.0.2 14.0.2
get ^4.7.2 4.7.2 4.7.2
google_maps_flutter ^2.12.3 2.13.1 2.13.1
injectable ^2.5.0 2.5.2 2.5.2
intl ^0.20.2 0.20.2 0.20.2
json_annotation ^4.9.0 4.9.0 4.9.0
mobile_device_identifier ^0.0.3 0.0.3 0.0.3
nb_utils ^7.1.7+2 7.1.8 7.1.8
package_info_plus ^8.3.0 8.3.1 9.0.0
timeago ^3.7.1 3.7.1 3.7.1
timezone ^0.10.1 0.10.1 0.10.1
url_launcher ^6.3.2 6.3.2 6.3.2
uuid ^4.5.1 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
bloc - 9.0.1 9.0.1
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
connectivity_plus - 6.1.5 7.0.0
connectivity_plus_platform_interface - 2.0.1 2.0.1
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
dbus - 0.7.11 0.7.11
device_info_plus_platform_interface - 7.0.3 7.0.3
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_plugin_android_lifecycle - 2.0.30 2.0.30
geoclue - 0.1.1 0.1.1
geocoding_android - 4.0.1 4.0.1
geocoding_ios - 3.1.0 3.1.0
geocoding_platform_interface - 3.2.0 3.2.0
geolocator_android - 5.0.2 5.0.2
geolocator_apple - 2.3.13 2.3.13
geolocator_linux - 0.2.3 0.2.3
geolocator_platform_interface - 4.2.6 4.2.6
geolocator_web - 4.1.3 4.1.3
geolocator_windows - 0.2.5 0.2.5
get_it - 8.2.0 8.2.0
google_maps - 8.2.0 8.2.0
google_maps_flutter_android - 2.18.2 2.18.2
google_maps_flutter_ios - 2.15.5 2.15.5
google_maps_flutter_platform_interface - 2.14.0 2.14.0
google_maps_flutter_web - 0.5.14+2 0.5.14+2
gsettings - 0.2.8 0.2.8
html - 0.15.6 0.15.6
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mime - 2.0.0 2.0.0
nested - 1.0.0 1.0.0
nm - 0.5.0 0.5.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path - 1.9.1 1.9.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.5+1 6.1.5+1
sanitize_html - 2.1.0 2.1.0
shared_preferences - 2.5.3 2.5.3
shared_preferences_android - 2.4.14 2.4.14
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stream_transform - 2.1.1 2.1.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
universal_platform - 1.1.0 1.1.0
url_launcher_android - 6.3.23 6.3.23
url_launcher_ios - 6.3.4 6.3.4
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.3 3.2.3
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.4 3.1.4
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.14.0 5.14.0
win32_registry - 2.1.0 2.1.0
xdg_directories - 1.1.0 1.1.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 `^11.5.0` on device_info_plus does not support the stable version `12.0.0`, that was published 22 days ago.

When device_info_plus is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `^4.1.1` on flutter_timezone does not support the stable version `5.0.0`, that was published 13 days ago.

When flutter_timezone is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions flutter_timezone 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: