iviva_core 1.0.1+1
iviva_core: ^1.0.1+1 copied to clipboard
iviva_core
We analyzed this package 2 days ago, and awarded it 105 pub points (of a possible 160):
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.
Repository URL doesn't exist.
At the time of the analysis http://source.iviva.com/selva/lucy_mobile.git
was unreachable. Make sure that the website is reachable via HEAD
requests.
0/5 points: Provide a valid README.md
`README.md` is empty.
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.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
8 out of 282 API elements (2.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: account_repository
, account_repository.AccountRepository
, account_repository.AccountRepository.AccountRepository.new
, account_repository.AccountRepository.accountID
, account_repository.AccountRepository.appBarBackgroundColor
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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:iviva_core/account_manager/account_repository.dart
that imports:package:iviva_core/utils.dart
that imports:package:iviva_core/location_service.dart
that imports:package:geolocator/geolocator.dart
that imports:package:geolocator_web/web_settings.dart
that declares support for platforms:Web
.
Package does not support platform `Linux`.
Because:
package:iviva_core/account_manager/account_repository.dart
that imports:package:iviva_core/utils.dart
that imports:package:iviva_core/location_service.dart
that imports:package:geolocator/geolocator.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
,Web
.
Package does not support platform `macOS`.
Because:
package:iviva_core/account_manager/account_repository.dart
that imports:package:iviva_core/utils.dart
that imports:package:iviva_core/location_service.dart
that imports:package:geolocator/geolocator.dart
that imports:package:geolocator_web/web_settings.dart
that declares support for platforms:Web
.
Package does not support platform `Web`.
Because:
package:iviva_core/account_manager/account_repository.dart
that imports:package:iviva_core/utils.dart
that imports:package:iviva_core/location_service.dart
that imports:package:geolocator/geolocator.dart
that imports:package:geolocator_apple/geolocator_apple.dart
that declares support for platforms:iOS
,macOS
.
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:iviva_core/account_manager/account_repository.dart
that imports:package:iviva_core/utils.dart
that imports:package:iviva_core/location_service.dart
that imports:package:geolocator/geolocator.dart
that imports:package:geolocator_web/web_settings.dart
that declares support for platforms:Web
.
Package does not support platform `iOS`.
Because:
package:iviva_core/account_manager/account_repository.dart
that imports:package:iviva_core/utils.dart
that imports:package:iviva_core/location_service.dart
that imports:package:geolocator/geolocator.dart
that imports:package:geolocator_web/web_settings.dart
that declares support for platforms:Web
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:iviva_core/account_manager/account_repository.dart
that imports:package:iviva_core/utils.dart
that imports:package:iviva_core/location_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.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 28 issues. Showing the first 2:
INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.
lib/auth/auth_service.dart:79:11
╷
79 │ if (data.length > 0) result = Map<String, String>.from(data[0]);
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/auth/auth_service.dart
INFO: Statements in an if should be enclosed in a block.
lib/auth/auth_service.dart:114:9
╷
114 │ return {'authenticated': false, 'isNewUser': isNewUser ?? false};
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/auth/auth_service.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
cached_network_image |
^3.0.0 |
3.4.1 | 3.4.1 | |
connectivity_plus |
^6.1.3 |
6.1.4 | 6.1.4 | |
crypto |
^3.0.3 |
3.0.6 | 3.0.6 | |
dio |
^5.8.0+1 |
5.8.0+1 | 5.8.0+1 | |
firebase_auth |
^5.3.0 |
5.6.0 | 5.6.0 | |
firebase_core |
^3.5.0 |
3.14.0 | 3.14.0 | |
flutter_cache_manager |
^3.3.1 |
3.4.1 | 3.4.1 | |
flutter_svg |
^2.0.9 |
2.1.0 | 2.1.0 | |
font_awesome_flutter |
^9.1.0 |
9.2.0 | 10.8.0 | |
geolocator |
^14.0.0 |
14.0.1 | 14.0.1 | |
google_fonts |
^6.2.1 |
6.2.1 | 6.2.1 | |
google_sign_in |
^6.1.6 |
6.3.0 | 6.3.0 | |
hive |
^2.0.4 |
2.2.3 | 2.2.3 | |
hive_flutter |
^1.1.0 |
1.1.0 | 1.1.0 | |
http |
^1.3.0 |
1.4.0 | 1.4.0 | |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 | |
json_path |
^0.7.5 |
0.7.6 | 0.7.6 | |
map_launcher |
^3.0.1 |
3.5.0 | 3.5.0 | |
path |
^1.9.1 |
1.9.1 | 1.9.1 | |
path_provider |
^2.0.2 |
2.1.5 | 2.1.5 | |
progress_indicators |
^1.0.0 |
1.0.0 | 1.0.0 | |
rive |
^0.13.20 |
0.13.20 | 0.13.20 | |
sign_in_with_apple |
^6.1.2 |
6.1.4 | 7.0.1 | |
throttling |
^2.0.1 |
2.0.1 | 2.0.1 | |
uuid |
^4.5.1 |
4.5.1 | 4.5.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_flutterfire_internals |
- | 1.3.56 | 1.3.56 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
cached_network_image_platform_interface |
- | 4.1.1 | 4.1.1 | |
cached_network_image_web |
- | 1.3.1 | 1.3.1 | |
characters |
- | 1.4.0 | 1.4.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 2.0.1 | 2.0.1 | |
dbus |
- | 0.7.11 | 0.7.11 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
firebase_auth_platform_interface |
- | 7.7.0 | 7.7.0 | |
firebase_auth_web |
- | 5.15.0 | 5.15.0 | |
firebase_core_platform_interface |
- | 5.4.0 | 5.4.0 | |
firebase_core_web |
- | 2.23.0 | 2.23.0 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
geolocator_android |
- | 5.0.1+1 | 5.0.1+1 | |
geolocator_apple |
- | 2.3.13 | 2.3.13 | |
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 | |
google_identity_services_web |
- | 0.3.3+1 | 0.3.3+1 | |
google_sign_in_android |
- | 6.2.1 | 6.2.1 | |
google_sign_in_ios |
- | 5.9.0 | 5.9.0 | |
google_sign_in_platform_interface |
- | 2.5.0 | 2.5.0 | |
google_sign_in_web |
- | 0.12.4+4 | 0.12.4+4 | |
graphs |
- | 2.3.2 | 2.3.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
iregexp |
- | 0.1.2 | 0.1.2 | |
leak_tracker |
- | 10.0.9 | 11.0.1 | |
leak_tracker_flutter_testing |
- | 3.0.9 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.1 | 3.0.2 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
maybe_just_nothing |
- | 0.5.3 | 0.5.3 | |
meta |
- | 1.16.0 | 1.17.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
octo_image |
- | 2.1.0 | 2.1.0 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
path_provider_foundation |
- | 2.4.1 | 2.4.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 |
- | 6.1.0 | 6.1.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
rfc_6901 |
- | 0.2.0 | 0.2.0 | |
rive_common |
- | 0.4.15 | 0.4.15 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
sign_in_with_apple_platform_interface |
- | 1.1.0 | 2.0.0 | |
sign_in_with_apple_web |
- | 2.1.1 | 3.0.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
sqflite |
- | 2.4.2 | 2.4.2 | |
sqflite_android |
- | 2.4.1 | 2.4.1 | |
sqflite_common |
- | 2.5.5 | 2.5.5 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.3.1 | 3.3.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.4 | 0.7.6 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_graphics |
- | 1.1.18 | 1.1.18 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.1.17 | 1.1.17 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
vm_service |
- | 15.0.0 | 15.0.2 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 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
.
The constraint `^9.1.0` on font_awesome_flutter does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions font_awesome_flutter
to update the constraint.
The constraint `^6.1.2` on sign_in_with_apple does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions sign_in_with_apple
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.21
, Flutter 3.32.1
, Dart 3.8.1
.
Check the analysis log for details.