flutter_local_notifications 18.0.1 copy "flutter_local_notifications: ^18.0.1" to clipboard
flutter_local_notifications: ^18.0.1 copied to clipboard

A cross platform plugin for displaying and scheduling local notifications for Flutter applications with the ability to customise for each platform.

6.81k
likes
145/ 160
pub points
1.19M
downloads

We analyzed this package 3 days ago, and awarded it 145 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:139:212

    ╷
139 │ <p>There is a limit imposed by iOS where it will only keep the 64 notifications that were last set on any iOS versions newer than 9. On iOS versions 9 and older, the 64 notifications that fire soonest are kept. <a href="http://ileyf.cn.openradar.appspot.com/38065340">See here for more details.</a></p>
    │                                                                                                                                                                                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

Use https URLs instead.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

522 out of 523 API elements (99.8 %) have documentation comments.

Some symbols that are missing documentation: flutter_local_notifications.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:flutter_local_notifications/flutter_local_notifications.dart that declares support for platforms: Android, iOS, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:flutter_local_notifications/flutter_local_notifications.dart that 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: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 declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • 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 declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • 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 declares support for platforms: Linux.

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/flutter_local_notifications/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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 16 issues. Showing the first 2:

INFO: 'alpha' is deprecated and shouldn't be used. Use .a.

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

INFO: 'red' is deprecated and shouldn't be used. Use .r.

lib/src/platform_specifics/android/method_channel_mappers.dart:53:34

   ╷
53 │         'ledColorRed': ledColor?.red,
   │                                  ^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/platform_specifics/android/method_channel_mappers.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
clock ^1.1.0 1.1.2 1.1.2
flutter flutter 0.0.0 0.0.0
flutter_local_notifications_linux ^5.0.0 5.0.0 5.0.0
flutter_local_notifications_platform_interface ^8.0.0 8.0.0 8.0.0
timezone >=0.9.0 <0.11.0 0.10.0 0.10.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
dbus - 0.7.11 0.7.11
ffi - 2.1.4 2.1.4
http - 1.3.0 1.3.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 6.1.0
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
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.1.4 2.1.4
web - 1.1.0 1.1.0
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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.18, Flutter 3.29.0, Dart 3.7.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
6.81k
likes
145
points
1.19M
downloads

Publisher

verified publisherdexterx.dev

Weekly Downloads

A cross platform plugin for displaying and scheduling local notifications for Flutter applications with the ability to customise for each platform.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

clock, flutter, flutter_local_notifications_linux, flutter_local_notifications_platform_interface, timezone

More

Packages that depend on flutter_local_notifications