jt_firebase 0.1.0

  • Readme
  • Changelog
  • Installing
  • new44

jt_firebase #

A Firebase Realtime Database SDK, developed by Zell Co., Ltd.

This library aim at unifying the Realtime Database API across all platforms (Dart VM, Web & Flutter).

For Dart VM, this library is wrapper of package:firebase_dart.

For Web, this library is a wrapper of package:firebase.

For Flutter, this library is a wrapper of package:firebase_database.

Usage #

An example of simple usage is as follow:

final JtDatabase(
  app: FirebaseApp.instance,
  databaseURL: '<<replace this with firebase url>>');

db.ref('<<path in firebase>>');

...

More Info: #

Inspired by darter/fireblend.

[License] MIT.

0.1.0 #

  • Initial version

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  jt_firebase: ^0.1.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:jt_firebase/jt_firebase.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
70
Overall:
Weighted score of the above. [more]
44
Learn more about scoring.

We analyzed this package on May 23, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.1
  • pana: 0.13.8-dev

Health issues and suggestions

Document public APIs. (-1 points)

101 out of 101 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Maintenance issues and suggestions

Homepage URL doesn't exist. (-20 points)

At the time of the analysis the homepage field https://jtzell.com was unreachable.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and jt_firebase.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.7.0 <3.0.0
crypto ^2.1.3 2.1.5
firebase_dart ^0.7.15 0.7.15+4
http ^0.12.1 0.12.1
meta ^1.1.8 1.1.8
Transitive dependencies
async 2.4.1
built_collection 4.3.2
built_value 7.1.0
charcode 1.1.3
collection 1.14.12
convert 2.1.1
crypto_keys 0.1.0+2
dart2_constant 1.0.2+dart2
fixnum 0.10.11
http_parser 3.1.4
isolate 2.0.3
jose 0.1.2+1
logging 0.11.4
matcher 0.12.6
path 1.7.0
pedantic 1.9.0
pointycastle 1.0.2
quiver 2.1.3
sortedmap 0.4.2+1
source_span 1.7.0
stack_trace 1.9.3
stream_channel 2.0.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
web_socket_channel 1.1.0
Dev dependencies
test ^1.14.4