pensil_community_core 0.1.1+2.1 copy "pensil_community_core: ^0.1.1+2.1" to clipboard
pensil_community_core: ^0.1.1+2.1 copied to clipboard

Pensil community official Dart SDK. Build your own community experience using Dart and Flutter.

0
likes
90/ 140
pub points
33%
popularity

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/pensil-inc/pensil-community-flutter/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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: BSD-3-Clause.

failed
Provide documentation
0 / 20trigger folding of the section

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

59 out of 396 API elements (14.9 %) 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.

Some symbols that are missing documentation: pensil_community_core, pensil_community_core.Actor, pensil_community_core.Actor.Actor, pensil_community_core.Actor.copyWith, pensil_community_core.Actor.Actor.fromJson.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
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:pensil_community_core/pensil_community_core.dart that imports:
  • package:pensil_community_core/src/client/user/pensil_user.dart that imports:
  • package:pensil_community_core/src/core/resources/services/auth/auth_service.dart that imports:
  • package:pensil_community_core/src/core/resources/services/auth/api/auth_api.dart that imports:
  • package:pensil_community_core/src/core/http/dio_client.dart that imports:
  • package:pensil_community_core/src/client/injection/injection.dart that imports:
  • package:pensil_community_core/src/client/injection/injection.config.dart that imports:
  • package:pensil_community_core/src/core/resources/services/post/post_service.dart that imports:
  • package:pensil_community_core/src/core/resources/services/post/api/post_api.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 44 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/core/domain/value_failures.freezed.dart:142:17

    ╷
142 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/domain/value_failures.freezed.dart

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/core/model/community/community.freezed.dart:337:17

    ╷
337 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/model/community/community.freezed.dart

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

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

Package Constraint Compatible Latest
connectivity_plus ^2.1.0 2.3.9 6.0.3
dartz ^0.10.1 0.10.1 0.10.1
dio ^4.0.4 4.0.6 5.4.3+1
equatable ^2.0.3 2.0.5 2.0.5
flutter flutter 0.0.0 0.0.0
freezed ^1.1.0 1.1.1 2.5.2
freezed_annotation ^1.1.0 1.1.0 2.4.1
get_it ^7.2.0 7.7.0 7.7.0
injectable ^1.5.0 1.5.4 2.4.1
intl ^0.17.0 0.17.0 0.19.0
json_annotation ^4.4.0 4.9.0 4.9.0
logging ^1.0.2 1.2.0 1.2.0
rxdart ^0.27.3 0.27.7 0.27.7
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 38.0.0 67.0.0
analyzer - 3.4.1 6.4.1
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
build - 2.4.1 2.4.1
build_config - 1.1.1 1.1.1
characters - 1.3.0 1.3.0
checked_yaml - 2.0.3 2.0.3
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
connectivity_plus_linux - 1.3.1 1.3.1
connectivity_plus_macos - 1.2.6 1.2.6
connectivity_plus_platform_interface - 1.2.4 2.0.0
connectivity_plus_web - 1.2.5 1.2.5
connectivity_plus_windows - 1.2.2 1.2.2
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
dart_style - 2.2.3 2.3.6
dbus - 0.7.10 0.7.10
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_web_plugins - 0.0.0 0.0.0
glob - 2.1.2 2.1.2
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
nm - 0.5.0 0.5.0
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.2.3 1.2.3
sky_engine - 0.0.99 0.0.99
source_gen - 1.2.2 1.5.0
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
xml - 6.5.0 6.5.0
yaml - 3.1.2 3.1.2

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.1.0` on connectivity_plus does not support the stable version `3.0.0`.

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

The constraint `^4.0.4` on dio does not support the stable version `5.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

0
likes
90
pub points
33%
popularity

Publisher

unverified uploader

Pensil community official Dart SDK. Build your own community experience using Dart and Flutter.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

connectivity_plus, dartz, dio, equatable, flutter, freezed, freezed_annotation, get_it, injectable, intl, json_annotation, logging, rxdart

More

Packages that depend on pensil_community_core