pensil_community_core 0.1.1+2.1
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.
We analyzed this package 23 hours ago, and awarded it 110 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
0/10 points: 20% or more of the public API has dartdoc comments
59 out of 398 API elements (14.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: pensil_community_core, pensil_community_core.Actor, pensil_community_core.Actor.Actor.fromJson, pensil_community_core.Actor.Actor.new, pensil_community_core.Actor.copyWith.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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.dartthat imports:package:pensil_community_core/src/client/user/pensil_user.dartthat imports:package:pensil_community_core/src/core/resources/services/auth/auth_service.dartthat imports:package:pensil_community_core/src/core/resources/services/auth/api/auth_api.dartthat imports:package:pensil_community_core/src/core/http/dio_client.dartthat imports:package:pensil_community_core/src/client/injection/injection.dartthat imports:package:pensil_community_core/src/client/injection/injection.config.dartthat imports:package:pensil_community_core/src/core/resources/services/post/post_service.dartthat imports:package:pensil_community_core/src/core/resources/services/post/api/post_api.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 45 issues. Showing the first 2:
WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: PensilUser.token, PensilUser.user
lib/src/client/user/pensil_user.dart:7:7
╷
7 │ class PensilUser with EquatableMixin {
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/client/user/pensil_user.dart
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
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
connectivity_plus |
^2.1.0 |
2.3.9 | 7.0.0 | |
dartz |
^0.10.1 |
0.10.1 | 0.10.1 | |
dio |
^4.0.4 |
4.0.6 | 5.9.2 | |
equatable |
^2.0.3 |
2.0.8 | 2.0.8 | |
freezed |
^1.1.0 |
1.1.1 | 3.2.5 | |
freezed_annotation |
^1.1.0 |
1.1.0 | 3.1.0 | |
get_it |
^7.2.0 |
7.7.0 | 9.2.1 | |
injectable |
^1.5.0 |
1.5.4 | 2.7.1+4 | |
intl |
^0.17.0 |
0.17.0 | 0.20.2 | |
json_annotation |
^4.4.0 |
4.11.0 | 4.11.0 | |
logging |
^1.0.2 |
1.3.0 | 1.3.0 | |
rxdart |
^0.27.3 |
0.27.7 | 0.28.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 38.0.0 | 98.0.0 | |
analyzer |
- | 3.4.1 | 12.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
build |
- | 2.4.1 | 4.0.4 | |
build_config |
- | 1.3.0 | 1.3.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_linux |
- | 1.3.1 | 1.3.1 | Discontinued |
connectivity_plus_macos |
- | 1.2.6 | 1.2.6 | Discontinued |
connectivity_plus_platform_interface |
- | 1.2.4 | 2.0.1 | |
connectivity_plus_web |
- | 1.2.5 | 1.2.5 | Discontinued |
connectivity_plus_windows |
- | 1.2.2 | 1.2.2 | Discontinued |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dart_style |
- | 2.2.3 | 3.1.7 | |
dbus |
- | 0.7.12 | 0.7.12 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
nm |
- | 0.5.0 | 0.5.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
source_gen |
- | 1.2.2 | 4.2.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
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_math |
- | 2.2.0 | 2.2.0 | |
watcher |
- | 1.2.1 | 1.2.1 | |
xml |
- | 6.6.1 | 6.6.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 8 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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.11, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.