simple_noti 0.0.2
simple_noti: ^0.0.2 copied to clipboard
A simple package to implement notification with Pusher
We analyzed this package 5 days ago, and awarded it 140 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
5 out of 9 API elements (55.6 %) have documentation comments.
Some symbols that are missing documentation: simple_noti, simple_noti.SimpleNotifications, simple_noti.SimpleNotifications.SimpleNotifications.new, simple_noti.SimpleNotifications.test.
10/10 points: Package has 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:simple_noti/simple_noti.dartthat imports:package:simple_noti/src/simple_noti/simple_noti.dartthat imports:package:simple_noti/src/notifications_helper/notifications_helper.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat declares support for platforms:Android,iOS,Linux,macOS.
Package does not support platform `Linux`.
Because:
package:simple_noti/simple_noti.dartthat imports:package:simple_noti/src/simple_noti/simple_noti.dartthat imports:package:pusher_channels_flutter/pusher_channels_flutter.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:simple_noti/simple_noti.dartthat imports:package:simple_noti/src/simple_noti/simple_noti.dartthat imports:package:simple_noti/src/notifications_helper/notifications_helper.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dartthat declares support for platforms:Linux.
Package does not support platform `Web`.
Because:
package:simple_noti/simple_noti.dartthat imports:package:simple_noti/src/simple_noti/simple_noti.dartthat imports:package:simple_noti/src/notifications_helper/notifications_helper.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat declares support for platforms:Android,iOS,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:simple_noti/simple_noti.dartthat imports:package:simple_noti/src/simple_noti/simple_noti.dartthat imports:package:simple_noti/src/notifications_helper/notifications_helper.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:simple_noti/simple_noti.dartthat imports:package:simple_noti/src/simple_noti/simple_noti.dartthat imports:package:simple_noti/src/notifications_helper/notifications_helper.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dartthat declares support for platforms:Linux.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:simple_noti/simple_noti.dartthat imports:package:simple_noti/src/simple_noti/simple_noti.dartthat imports:package:universal_html/html.dartthat imports:package:universal_html/src/_sdk/html.dartthat imports:package:universal_html/src/_sdk_html_additions.dartthat 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 13 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/constants/constants.dart:17:1
╷
17 │ logCyan(String t) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/constants/constants.dart
INFO: Missing type annotation.
lib/src/constants/constants.dart:21:1
╷
21 │ logRed(String t) {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/constants/constants.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^5.6.0 |
5.9.0 | 5.9.0 | |
flutter_local_notifications |
^17.2.2 |
17.2.4 | 19.5.0 | |
pusher_channels_flutter |
^2.2.1 |
2.5.0 | 2.5.0 | |
universal_html |
^2.2.4 |
2.2.4 | 2.2.4 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
charcode |
- | 1.4.0 | 1.4.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dbus |
- | 0.7.11 | 0.7.11 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
flutter_local_notifications_linux |
- | 4.0.1 | 6.0.0 | |
flutter_local_notifications_platform_interface |
- | 7.2.0 | 9.1.0 | |
html |
- | 0.15.6 | 0.15.6 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
timezone |
- | 0.9.4 | 0.10.1 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
universal_io |
- | 2.2.2 | 2.2.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
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.
The constraint `^17.2.2` on flutter_local_notifications does not support the stable version `18.0.0`.
Try running dart pub upgrade --major-versions flutter_local_notifications 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.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.