firebase_database 6.0.0
firebase_database: ^6.0.0 copied to clipboard

Flutter Android iOS

Flutter plugin for Firebase Database, a cloud-hosted NoSQL database with realtime data syncing across Android and iOS clients, and offline access.

177
likes
80 / 110
pub points
98 %
popularity

We analyzed this package on Jan 20, 2021, and awarded it 80 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

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

  • 91 out of 128 API elements (71.1 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Found 5 issues. Showing the first 2:

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:firebase_database/firebase_database.dart that declares support for platforms: Android, iOS, macOS
Pass static analysis
20 / 30

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

INFO: 'List' is deprecated and shouldn't be used.

lib/src/utils/push_id_generator.dart:24:43

   ╷
24 │   static final List<int> _lastRandChars = List<int>(12);
   │                                           ^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/src/utils/push_id_generator.dart

INFO: 'List' is deprecated and shouldn't be used.

lib/src/utils/push_id_generator.dart:31:41

   ╷
31 │     final List<String> timeStampChars = List<String>(8);
   │                                         ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/src/utils/push_id_generator.dart

Support up-to-date dependencies
10 / 20

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

  • Could not run pub outdated: pub get failed:
Because firebase_core 0.7.0 depends on firebase_core_platform_interface ^3.0.1 and no versions of firebase_core match >0.7.0 <0.8.0, firebase_core ^0.7.0 requires firebase_core_platform_interface ^3.0.1.
So, because firebase_database depends on both firebase_core ^0.7.0 and firebase_core_platform_interface ^2.0.0, version solving failed.

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

177
likes
80
pub points
98%
popularity

Publisher

firebase.google.com

Flutter plugin for Firebase Database, a cloud-hosted NoSQL database with realtime data syncing across Android and iOS clients, and offline access.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

firebase_core, flutter

More

Packages that depend on firebase_database