firebase_crud 0.1.0 copy "firebase_crud: ^0.1.0" to clipboard
firebase_crud: ^0.1.0 copied to clipboard

A comprehensive Firebase Firestore CRUD facilitator package for Dart/Flutter with built-in logging, error handling, and testing support.

105/ 160
pub points
50
downloads

We analyzed this package 11 hours ago, and awarded it 105 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 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/yourusername/firebase_crud was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/yourusername/firebase_crud was unreachable. Make sure that the website is reachable via HEAD requests.

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

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

`CHANGELOG.md` does not contain reference to the current version ("0.1.0").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

22 out of 42 API elements (52.4 %) have documentation comments.

Some symbols that are missing documentation: collection, crud_repos, crud_repos.CrudRepository.CrudRepository.new, crud_repos.CrudRepository.add, crud_repos.CrudRepository.delete.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Partially passed report section
Platform support
10 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:firebase_crud/firebase_crud.dart that imports:
  • package:firebase_crud/extensions/collection.dart that imports:
  • package:fake_cloud_firestore/fake_cloud_firestore.dart that imports:
  • package:fake_cloud_firestore/src/fake_cloud_firestore_instance.dart that imports:
  • package:fake_cloud_firestore/src/util.dart that imports:
  • package:cloud_firestore/cloud_firestore.dart that declares support for platforms: Android, iOS, Windows, 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:firebase_crud/firebase_crud.dart that imports:
  • package:firebase_crud/extensions/collection.dart that imports:
  • package:fake_cloud_firestore/fake_cloud_firestore.dart that imports:
  • package:fake_cloud_firestore/src/fake_cloud_firestore_instance.dart that imports:
  • package:fake_cloud_firestore/src/mock_document_reference.dart that imports:
  • package:fake_firebase_security_rules/fake_firebase_security_rules.dart that imports:
  • package:fake_firebase_security_rules/src/fake_firebase_security_rules.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:firebase_crud/firebase_crud.dart that imports:
  • package:firebase_crud/extensions/collection.dart that imports:
  • package:fake_cloud_firestore/fake_cloud_firestore.dart that imports:
  • package:fake_cloud_firestore/src/fake_cloud_firestore_instance.dart that imports:
  • package:fake_cloud_firestore/src/mock_document_reference.dart that imports:
  • package:fake_firebase_security_rules/fake_firebase_security_rules.dart that imports:
  • package:fake_firebase_security_rules/src/fake_firebase_security_rules.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. 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 3 issues. Showing the first 2:

WARNING: The annotation 'JsonKey.new' can only be used on fields or getters.

lib/example/model/model_example.dart:9:6

  ╷
9 │     @JsonKey(name: 'id') String? id,
  │      ^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/example/model/model_example.dart

WARNING: The annotation 'JsonKey.new' can only be used on fields or getters.

lib/example/model/model_example.dart:10:6

   ╷
10 │     @JsonKey(name: 'email') String? email,
   │      ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/example/model/model_example.dart

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 ^4.17.0 4.17.5 6.9.0
fake_cloud_firestore ^2.5.1 2.5.2 4.2.0
firebase_core ^2.30.0 2.32.0 4.14.0
freezed_annotation ^2.4.1 2.4.4 3.1.0
json_annotation ^4.9.0 4.12.0 4.12.0
logger ^2.4.0 2.7.0 2.7.0
meta ^1.11.0 1.19.0 1.19.0
mockito ^5.4.4 5.8.1 5.8.1
uuid ^4.4.0 4.6.0 4.6.0
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 107.0.0 107.0.0
_flutterfire_internals - 1.3.35 1.3.77
analyzer - 14.3.0 14.3.0
antlr4 - 4.13.2 4.13.2
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
boolean_selector - 2.1.2 2.1.2
build - 4.0.11 4.0.11
built_collection - 5.1.1 5.1.1
built_value - 8.13.0 8.13.0
cel - 0.5.4+1 0.5.4+1
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
cloud_firestore_platform_interface - 6.2.5 8.0.7
cloud_firestore_web - 3.12.5 5.7.3
code_builder - 4.12.0 4.12.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dart_style - 3.1.13 3.1.13
equatable - 2.1.0 2.1.0
fake_async - 1.3.3 1.3.3
fake_firebase_security_rules - 0.5.4 0.5.4
file - 7.0.1 7.0.1
firebase_core_platform_interface - 5.4.2 8.1.1
firebase_core_web - 2.24.0 3.11.0
fixnum - 1.1.1 1.1.1
glob - 2.2.0 2.2.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
mock_exceptions - 0.8.2 0.8.2
more - 4.7.0 4.7.0
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.1 2.2.1
quiver - 3.2.2 3.2.2
rx - 0.4.0 0.5.0
rxdart - 0.27.7 0.28.0
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
yaml - 3.1.4 3.1.4

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

Found 4 issues. Showing the first 2:

The constraint `^4.17.0` on cloud_firestore does not support the stable version `5.0.0`.

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

The constraint `^2.5.1` on fake_cloud_firestore does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions fake_cloud_firestore 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.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
105
points
50
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A comprehensive Firebase Firestore CRUD facilitator package for Dart/Flutter with built-in logging, error handling, and testing support.

Repository (GitHub)

License

MIT (license)

Dependencies

cloud_firestore, fake_cloud_firestore, firebase_core, flutter, freezed_annotation, json_annotation, logger, meta, mockito, uuid

More

Packages that depend on firebase_crud