A fluent Dart persistence API inspired by SQL. This library is still in an early phase of development. Currently Box has two implementations.
Support for various SQL and NoSQL databases is on the roadmap.
Box box = new Box.file('.box/test'); Stream<User> users = box.selectFrom(User) .where('name').like('C%') .orderBy('name').ascending() .list(); users.listen((user) => print(user.name)));
Add this to your package's pubspec.yaml file:
dependencies: box: "^0.0.14"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.0.14||Mar 27, 2016|
|0.0.13||Dec 1, 2015|
|0.0.12||Nov 26, 2015|
|0.0.11||Nov 25, 2015|
|0.0.9||Nov 25, 2015|
|0.0.7||Nov 24, 2015|
|0.0.6||Nov 24, 2015|
|0.0.5||Apr 21, 2015|
|0.0.4||Apr 21, 2015|
|0.0.3||Feb 11, 2015|
We analyzed this package on May 22, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: Flutter, other
Changelog entries help clients to follow the progress in your code.
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Fix analysis and formatting issues.
Analysis or formatting checks reported 11 hints.
Strong-mode analysis of
lib/box.dartgave the following hint:
line: 7 col: 1
'dart.pkg.collection.equality' is deprecated and shouldn't be used.
Similar analysis of the following files failed:
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction API.
Maintain an example.
Create a short demo in the
example/directory to show how to use this package. Common file name patterns include:
example.dartor you could also use