dukar_functions 0.0.3 copy "dukar_functions: ^0.0.3" to clipboard
dukar_functions: ^0.0.3 copied to clipboard

All functions done by the app will be done from a library

0
likes
120/ 160
pub points
41
downloads

We analyzed this package 26 hours ago, and awarded it 120 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://github.com/juuzou12/dukarfunction 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: MIT.

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

19 out of 38 API elements (50.0 %) have documentation comments.

Some symbols that are missing documentation: auth, auth.Authentication, auth.Authentication.Authentication.new, constants, constants.Constants.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:dukar_functions/Auth/auth.dart that imports:
  • package:dukar_functions/constants.dart that imports:
  • package:firebase_storage/firebase_storage.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:dukar_functions/Auth/auth.dart that imports:
  • package:dukar_functions/constants.dart that imports:
  • package:firebase_storage/firebase_storage.dart that declares support for platforms: Android, iOS, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:dukar_functions/Auth/auth.dart that imports:
  • package:dukar_functions/constants.dart that imports:
  • package:firebase_storage/firebase_storage.dart that imports:
  • package:firebase_storage_platform_interface/firebase_storage_platform_interface.dart that imports:
  • package:firebase_storage_platform_interface/src/platform_interface/platform_interface_reference.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dukar_functions/Auth/auth.dart that imports:
  • package:dukar_functions/constants.dart that imports:
  • package:firebase_storage/firebase_storage.dart that imports:
  • package:firebase_storage_platform_interface/firebase_storage_platform_interface.dart that imports:
  • package:firebase_storage_platform_interface/src/platform_interface/platform_interface_reference.dart that 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.dev/web/wasm for details.

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 5 issues. Showing the first 2:

WARNING: The value of the local variable 'snapshot' isn't used.

lib/Auth/auth.dart:83:19

   ╷
83 │     QuerySnapshot snapshot = await FirebaseFirestore.instance
   │                   ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/Auth/auth.dart

/tmp/pana_WZGMEE/lib/Auth/auth.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest Notes
cloud_firestore ^2.5.3 2.5.4 5.6.6
firebase_auth ^3.0.0 3.11.2 5.5.2
firebase_core ^1.6.0 1.24.0 3.13.0
firebase_core_platform_interface ^4.4.1 4.8.0 5.4.0
firebase_messaging ^10.0.0 10.0.9 15.2.5
firebase_storage ^10.0.6 10.3.11 12.4.5
flutter_lints ^2.0.0 2.0.3 5.0.0
get ^4.1.4 4.7.2 4.7.2
image_picker ^0.8.4+4 0.8.9 1.1.2
mpesa_flutter_plugin ^1.0.0 1.6.1 1.6.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.0.2 1.3.54
async - 2.12.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
cloud_firestore_platform_interface - 5.7.7 6.6.6
cloud_firestore_web - 2.8.10 4.4.6
collection - 1.19.1 1.19.1
cross_file - 0.3.4+2 0.3.4+2
fake_async - 1.3.2 1.3.3
file_selector_linux - 0.9.3+2 0.9.3+2
file_selector_macos - 0.9.4+2 0.9.4+2
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+4 0.9.3+4
firebase_auth_platform_interface - 6.10.1 7.6.2
firebase_auth_web - 4.6.1 5.14.2
firebase_core_web - 1.7.3 2.22.0
firebase_messaging_platform_interface - 3.5.4 4.6.5
firebase_messaging_web - 2.4.4 3.10.5
firebase_storage_platform_interface - 4.1.19 5.2.5
firebase_storage_web - 3.3.9 3.10.12
flutter_plugin_android_lifecycle - 2.0.28 2.0.28
http - 0.13.6 1.3.0
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.12+23 0.8.12+23
image_picker_for_web - 2.2.0 3.0.6
image_picker_ios - 0.8.12+2 0.8.12+2
image_picker_linux - 0.2.1+2 0.2.1+2
image_picker_macos - 0.2.1+2 0.2.1+2
image_picker_platform_interface - 2.10.1 2.10.1
image_picker_windows - 0.2.1+1 0.2.1+1
intl - 0.17.0 0.20.2
js - 0.6.7 0.7.2 Discontinued
leak_tracker - 10.0.8 11.0.1
leak_tracker_flutter_testing - 3.0.9 3.0.10
leak_tracker_testing - 3.0.1 3.0.2
lints - 2.1.1 6.0.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
mime - 1.0.6 2.0.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
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.4 0.7.4
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.5
vm_service - 14.3.1 15.0.0
web - 1.1.1 1.1.1

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

Found 8 issues. Showing the first 2:

The constraint `^2.5.3` on cloud_firestore does not support the stable version `3.0.0`.

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

The constraint `^3.0.0` on firebase_auth does not support the stable version `4.0.0`.

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

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.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

All functions done by the app will be done from a library

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

cloud_firestore, firebase_auth, firebase_core, firebase_core_platform_interface, firebase_messaging, firebase_storage, flutter, flutter_lints, get, image_picker, mpesa_flutter_plugin

More

Packages that depend on dukar_functions