flutter_gb_app_notifications 1.2.0 copy "flutter_gb_app_notifications: ^1.2.0" to clipboard
flutter_gb_app_notifications: ^1.2.0 copied to clipboard

A comprehensive solution for handling in-app notifications in Flutter, including fetching, displaying, managing states (read, unread, archived), and customizable UI components.

110/ 160
pub points
46
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://gitlab.com/geekbears/public/utilities/flutter/packages/flutter-app-notifications was unreachable. Make sure that the website is reachable via HEAD requests.

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

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

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

Detected license: BSD-2-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

122 out of 371 API elements (32.9 %) have documentation comments.

Some symbols that are missing documentation: app_notification, app_notification.AppNotification, app_notification.AppNotification.AppNotification.new, app_notification.AppNotification.content, app_notification.AppNotification.copyWith.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:flutter_gb_app_notifications/flutter_gb_app_notifications.dart that imports:
  • package:flutter_gb_app_notifications/config/config.dart that imports:
  • package:flutter_gb_app_notifications/config/app_notification_list_template_style.dart that imports:
  • package:flutter_gb_stack_base/flutter_gb_stack_base.dart that imports:
  • package:flutter_gb_stack_base/modules/modules.dart that imports:
  • package:flutter_gb_stack_base/modules/testing/testing.dart that imports:
  • package:flutter_test/flutter_test.dart that imports:
  • package:flutter_test/src/widget_tester.dart that imports:
  • package:flutter_test/src/test_text_input.dart that imports:
  • package:flutter_test/src/test_text_input_key_handler.dart that imports:
  • package:flutter_test/src/binding.dart that imports:
  • package:flutter_test/src/platform.dart that imports:
  • dart:io
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 12 issues. Showing the first 2:

WARNING: A value for optional parameter 'key' isn't ever given.

lib/presentation/container/notification_list_template.dart:336:37

    ╷
336 │   const _NotificationContent({super.key, required this.notification});
    │                                     ^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/presentation/container/notification_list_template.dart

INFO: Missing type annotation.

lib/application/bloc/containers/notification_item_container/notification_item_container_bloc.dart:57:3

   ╷
57 │   markAsRead() {
   │   ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/application/bloc/containers/notification_item_container/notification_item_container_bloc.dart

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

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

Package Constraint Compatible Latest Notes
built_value ^8.12.1 8.13.0 8.13.0
collection ^1.19.1 1.19.1 1.19.1
dartz ^0.10.1 0.10.1 0.10.1
flutter_bloc ^9.1.1 9.1.1 9.1.1
flutter_gb_built_utils ^1.0.1 1.1.0 1.1.0
flutter_gb_stack_base ^5.4.0 5.5.0 5.5.0
flutter_gb_ui_kit ^3.12.0 3.14.0 4.0.0
flutter_slidable ^4.0.3 4.0.3 4.0.3
freezed_annotation ^3.1.0 3.1.0 3.1.0
get_it ^9.2.0 9.2.1 9.2.1
http ^1.6.0 1.6.0 1.6.0
logger ^2.6.2 2.8.0 2.8.0
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 108.0.0 108.0.0
analyzer - 14.4.0 14.4.0
animated_bottom_navigation_bar - 1.4.1 1.4.1
archive - 4.3.0 4.3.0
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.1 2.13.1
bloc - 9.2.1 9.2.1
boolean_selector - 2.1.2 2.1.2
build - 4.0.11 4.0.11
built_collection - 5.1.1 5.1.1
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
code_builder - 4.12.0 4.12.0
convert - 3.1.2 3.1.2
corsac_jwt - 2.0.2 2.0.2
crypto - 3.0.7 3.0.7
crypto_keys - 0.3.1 0.3.1
dart_style - 3.1.13 3.1.13
fake_async - 1.3.3 1.3.3
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_colorpicker - 1.1.0 1.1.0
gb_flutils - 3.0.0 3.0.0
glob - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
intl - 0.20.3 0.20.3
jose - 0.3.5+2 0.3.5+2
json_annotation - 4.12.0 4.12.0
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
logging - 1.3.0 1.3.0
matcher - 0.12.20 0.12.20
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
mockito - 5.8.1 5.8.1
nested - 1.0.0 1.0.0
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 4.0.0 4.0.0
posix - 6.5.2 6.5.2
provider - 6.1.5+1 6.1.5+1
pub_semver - 2.2.1 2.2.1
quiver - 3.2.2 3.2.2
shared_preferences - 2.5.5 2.5.5
shared_preferences_android - 2.4.28 2.4.28
shared_preferences_foundation - 2.5.7 2.5.7
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
sliver_tools - 0.2.12 0.2.12
source_gen - 4.3.0 4.3.0
source_span - 1.10.2 1.10.2
stack_trace - 1.12.2 1.12.2
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.12 0.7.14
typed_data - 1.4.0 1.4.0
vector_math - 2.4.2 2.4.2
vm_service - 15.3.0 15.3.0
watcher - 1.2.1 1.2.1
web - 1.1.1 1.1.1
x509 - 0.2.4+3 0.2.4+3
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.4 3.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^3.12.0` on flutter_gb_ui_kit does not support the stable version `4.0.0`, that was published 9 days ago.

When flutter_gb_ui_kit is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions flutter_gb_ui_kit to update the constraint.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_METHOD - lib/presentation/container/notification_list_template.dart:181:22 - The method 'LoadingDebouncedSwitcher' isn't defined for the type '_GBAppNotificationsListTemplateState'.
  • UNDEFINED_METHOD - lib/presentation/container/notification_list_template.dart:400:14 - The method 'LoadingDebouncedSwitcher' isn't defined for the type '_MarkAsReadSlidableActionState'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
46
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A comprehensive solution for handling in-app notifications in Flutter, including fetching, displaying, managing states (read, unread, archived), and customizable UI components.

Homepage

License

BSD-2-Clause (license)

Dependencies

built_value, collection, dartz, flutter, flutter_bloc, flutter_gb_built_utils, flutter_gb_stack_base, flutter_gb_ui_kit, flutter_slidable, freezed_annotation, get_it, http, logger

More

Packages that depend on flutter_gb_app_notifications