contacts_provider 0.1.4 copy "contacts_provider: ^0.1.4" to clipboard
contacts_provider: ^0.1.4 copied to clipboard

Flutter package for observing contact changes, and providing onDelete, onCreate, onUpdate and onChange events.

1
likes
90/ 140
pub points
26%
popularity

We analyzed this package 33 hours ago, and awarded it 90 pub points (of a possible 140):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/Nexus-GE/contacts_provider/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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.

failed
Provide documentation
0 / 20trigger folding of the section

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

6 out of 65 API elements (9.2 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: contacts_provider, contacts_provider.Contact, contacts_provider.Contact.Contact, contacts_provider.Contact.accountTypeFromString, contacts_provider.Contact.androidAccountName.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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:contacts_provider/contacts_provider.dart that imports:
  • package:contacts_provider/src/widgets/contacts_provider.dart that imports:
  • package:contacts_provider/src/infrastructure/events.dart that imports:
  • package:contacts_service/contacts_service.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:contacts_provider/contacts_provider.dart that imports:
  • package:contacts_provider/src/widgets/contacts_provider.dart that imports:
  • package:contacts_provider/src/infrastructure/events.dart that imports:
  • package:contacts_service/contacts_service.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:contacts_provider/contacts_provider.dart that imports:
  • package:contacts_provider/src/widgets/contacts_provider.dart that imports:
  • package:contacts_provider/src/infrastructure/events.dart that imports:
  • package:contacts_service/contacts_service.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:contacts_provider/contacts_provider.dart that imports:
  • package:contacts_provider/src/widgets/contacts_provider.dart that imports:
  • package:contacts_provider/src/infrastructure/events.dart that imports:
  • package:contacts_service/contacts_service.dart that declares support for platforms: Android, iOS.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

WARNING: Unused import: 'dart:async'.

lib/src/infrastructure/contacts_delegate.dart:1:8

  ╷
1 │ import 'dart:async';
  │        ^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/infrastructure/contacts_delegate.dart

WARNING: Unused import: 'package:contacts_provider/src/infrastructure/events.dart'.

lib/src/widgets/contacts_builder.dart:3:8

  ╷
3 │ import 'package:contacts_provider/src/infrastructure/events.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/contacts_builder.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
contacts_service ^0.6.3 0.6.3 0.6.3
flutter flutter 0.0.0 0.0.0
listentocontacts ^0.0.2+6 0.0.2+6 0.0.2+6
permission_handler ^10.2.0 10.4.5 11.3.1
rxdart ^0.27.7 0.27.7 0.27.7
shared_preferences ^2.0.18 2.2.3 2.2.3
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_web_plugins - 0.0.0 0.0.0
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
permission_handler_android - 10.3.6 12.0.6
permission_handler_apple - 9.1.4 9.4.4
permission_handler_platform_interface - 3.12.0 4.2.1
permission_handler_windows - 0.1.3 0.2.1
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
quiver - 3.2.1 3.2.1
shared_preferences_android - 2.2.2 2.2.2
shared_preferences_foundation - 2.4.0 2.4.0
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.0 0.7.1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.1 5.5.1
xdg_directories - 1.0.4 1.0.4

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

The constraint `^10.2.0` on permission_handler does not support the stable version `11.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.22.0, Dart 3.4.0.

Check the analysis log for details.

1
likes
90
pub points
26%
popularity

Publisher

unverified uploader

Flutter package for observing contact changes, and providing onDelete, onCreate, onUpdate and onChange events.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

contacts_service, flutter, listentocontacts, permission_handler, rxdart, shared_preferences

More

Packages that depend on contacts_provider