empathetech_ss_api 1.0.1
empathetech_ss_api: ^1.0.1 copied to clipboard
Firebase API code for Empathetech's Smoke Signal
We analyzed this package 6 hours ago, and awarded it 120 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.
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: GPL-3.0
.
10/10 points: 20% or more of the public API has dartdoc comments
33 out of 62 API elements (53.2 %) have documentation comments.
Some symbols that are missing documentation: empathetech_ss_api
, empathetech_ss_api.AppUser.AppUser.new
, empathetech_ss_api.AppUser.account
, empathetech_ss_api.AppUser.auth
, empathetech_ss_api.AppUser.db
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:empathetech_ss_api/empathetech_ss_api.dart
that imports:package:empathetech_ss_api/src/user-profile.dart
that imports:package:cached_network_image/cached_network_image.dart
that imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dart
that imports:package:flutter_cache_manager/flutter_cache_manager.dart
that imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart
that imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart
that imports:package:sqflite/sqflite.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:empathetech_ss_api/empathetech_ss_api.dart
that imports:package:empathetech_ss_api/src/user-profile.dart
that imports:package:cached_network_image/cached_network_image.dart
that imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dart
that imports:package:flutter_cache_manager/flutter_cache_manager.dart
that imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart
that imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart
that imports:package:sqflite/sqflite.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Web`.
Because:
package:empathetech_ss_api/empathetech_ss_api.dart
that imports:package:empathetech_ss_api/src/user-profile.dart
that imports:package:cached_network_image/cached_network_image.dart
that imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dart
that imports:package:flutter_cache_manager/flutter_cache_manager.dart
that imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart
that imports:package:flutter_cache_manager/src/storage/cache_info_repositories/json_cache_info_repository.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,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:empathetech_ss_api/empathetech_ss_api.dart
that imports:package:empathetech_ss_api/src/user-profile.dart
that imports:package:empathetech_flutter_ui/empathetech_flutter_ui.dart
that imports:package:empathetech_flutter_ui/src/notifications.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dart
that imports:package:flutter_local_notifications_linux/src/notifications_manager.dart
that imports:package:flutter_local_notifications_linux/src/storage.dart
that imports:package:flutter_local_notifications_linux/src/platform_info.dart
that imports:package:xdg_directories/xdg_directories.dart
that declares support for platforms:Linux
.
Package does not support platform `iOS`.
Because:
package:empathetech_ss_api/empathetech_ss_api.dart
that imports:package:empathetech_ss_api/src/user-profile.dart
that imports:package:empathetech_flutter_ui/empathetech_flutter_ui.dart
that imports:package:empathetech_flutter_ui/src/notifications.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dart
that imports:package:flutter_local_notifications_linux/src/notifications_manager.dart
that imports:package:flutter_local_notifications_linux/src/storage.dart
that imports:package:flutter_local_notifications_linux/src/platform_info.dart
that imports:package:xdg_directories/xdg_directories.dart
that declares support for platforms:Linux
.
Package does not support platform `macOS`.
Because:
package:empathetech_ss_api/empathetech_ss_api.dart
that imports:package:empathetech_ss_api/src/user-profile.dart
that imports:package:empathetech_flutter_ui/empathetech_flutter_ui.dart
that imports:package:empathetech_flutter_ui/src/notifications.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dart
that imports:package:flutter_local_notifications_linux/src/notifications_manager.dart
that imports:package:flutter_local_notifications_linux/src/storage.dart
that imports:package:flutter_local_notifications_linux/src/platform_info.dart
that imports:package:xdg_directories/xdg_directories.dart
that declares support for platforms:Linux
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:empathetech_ss_api/empathetech_ss_api.dart
that imports:package:empathetech_ss_api/src/user-profile.dart
that imports:package:cached_network_image/cached_network_image.dart
that imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dart
that imports:package:flutter_cache_manager/flutter_cache_manager.dart
that imports:package:flutter_cache_manager/src/web/web_helper.dart
that imports:package:flutter_cache_manager/src/cache_store.dart
that imports:package:flutter_cache_manager/src/storage/file_system/file_system.dart
that imports:package:file/file.dart
that imports:package:file/src/interface.dart
that imports:package:file/src/io.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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: The file name 'signal-api.dart' isn't a lower_case_with_underscores identifier.
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/signal-api.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/signal-api.dart:224:7
╷
224 │ ┌ return Column(
225 │ │ mainAxisSize: MainAxisSize.min,
226 │ │ mainAxisAlignment: MainAxisAlignment.spaceEvenly,
227 │ │ children: [
228 │ │ noUserCoin(context),
229 │ │ Container(height: dialogSpacer),
230 │ │ ],
231 │ └ );
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/signal-api.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
cached_network_image |
^3.2.3 |
3.3.1 | 3.4.1 | |
cloud_firestore |
^4.1.0 |
4.17.5 | 6.0.3 | |
cloud_functions |
^4.0.10 |
4.7.6 | 6.0.3 | |
email_validator |
^2.1.17 |
2.1.17 | 3.0.0 | |
empathetech_flutter_ui |
^1.1.4 |
1.1.4 | 10.1.0 | |
firebase_auth |
^4.1.4 |
4.16.0 | 6.1.1 | |
firebase_messaging |
^14.1.2 |
14.7.10 | 16.0.3 | |
flutter_platform_widgets |
^3.2.0 |
3.3.5 | 9.0.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 7 issues. Showing the first 2:
The constraint `^4.1.0` on cloud_firestore does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions cloud_firestore
to update the constraint.
The constraint `^4.0.10` on cloud_functions does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions cloud_functions
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.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.