local_notifications_for_us 1.0.4
local_notifications_for_us: ^1.0.4 copied to clipboard
A cross platform plugin for displaying and scheduling local notifications for Flutter applications with the ability to customise for each platform.
We analyzed this package 42 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/MaikuB/local_notifications_for_us/tree/master/local_notifications_for_us was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/MaikuB/local_notifications_for_us/issues was unreachable. Make sure that the website is reachable via HEAD requests.
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.0.4").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
531 out of 540 API elements (98.3 %) have documentation comments.
Some symbols that are missing documentation: local_notifications_for_us, local_notifications_for_us.AndroidBitmap.AndroidBitmap.new, local_notifications_for_us.AndroidFlutterLocalNotificationsPlugin.AndroidFlutterLocalNotificationsPlugin.new, local_notifications_for_us.AndroidNotificationSound.AndroidNotificationSound.new, local_notifications_for_us.IOSFlutterLocalNotificationsPlugin.IOSFlutterLocalNotificationsPlugin.new.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:local_notifications_for_us/local_notifications_for_us.dartthat declares support for platforms:Android,iOS,Linux,macOS.
Package does not support platform `Web`.
Because:
package:local_notifications_for_us/local_notifications_for_us.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:local_notifications_for_us/local_notifications_for_us.dartthat imports:package:local_notifications_for_us/src/notification_details.dartthat imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dartthat imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dartthat imports:package:flutter_local_notifications_linux/src/notifications_manager.dartthat imports:package:flutter_local_notifications_linux/src/storage.dartthat imports:package:flutter_local_notifications_linux/src/platform_info.dartthat imports:package:xdg_directories/xdg_directories.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:local_notifications_for_us/local_notifications_for_us.dartthat imports:package:local_notifications_for_us/src/notification_details.dartthat imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dartthat imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dartthat imports:package:flutter_local_notifications_linux/src/notifications_manager.dartthat imports:package:flutter_local_notifications_linux/src/storage.dartthat imports:package:flutter_local_notifications_linux/src/platform_info.dartthat imports:package:xdg_directories/xdg_directories.dartthat declares support for platforms:Linux.
Package does not support platform `macOS`.
Because:
package:local_notifications_for_us/local_notifications_for_us.dartthat imports:package:local_notifications_for_us/src/notification_details.dartthat imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dartthat imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dartthat imports:package:flutter_local_notifications_linux/src/notifications_manager.dartthat imports:package:flutter_local_notifications_linux/src/storage.dartthat imports:package:flutter_local_notifications_linux/src/platform_info.dartthat imports:package:xdg_directories/xdg_directories.dartthat declares support for platforms:Linux.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on macOS
It does not contain macos/local_notifications_for_us/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 13 issues. Showing the first 2:
INFO: The import of 'package:flutter/widgets.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/services.dart'.
lib/src/platform_flutter_local_notifications.dart:5:8
╷
5 │ import 'package:flutter/widgets.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/platform_flutter_local_notifications.dart
INFO: 'alpha' is deprecated and shouldn't be used. Use (*.a * 255.0).round().clamp(0, 255).
lib/src/platform_specifics/android/method_channel_mappers.dart:52:36
╷
52 │ 'ledColorAlpha': ledColor?.alpha,
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/platform_specifics/android/method_channel_mappers.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
clock |
^1.1.0 |
1.1.2 | 1.1.2 | |
flutter_local_notifications_linux |
^0.5.0+1 |
0.5.1 | 6.0.0 | |
flutter_local_notifications_platform_interface |
^5.0.0 |
5.0.0 | 9.1.0 | |
timezone |
^0.9.0 |
0.9.4 | 0.10.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 6.1.4 | 7.0.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
process |
- | 4.2.4 | 5.0.5 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
xdg_directories |
- | 0.2.0+3 | 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.
Found 3 issues. Showing the first 2:
The constraint `^0.5.0+1` on flutter_local_notifications_linux does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions flutter_local_notifications_linux to update the constraint.
The constraint `^5.0.0` on flutter_local_notifications_platform_interface does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions flutter_local_notifications_platform_interface 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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.