Solid allows use of Tim Berners-Lee's new platform for a decentralized web, Solid, from within dart.
Currently only includes solid.auth.
Install Solid from pub:
dependencies: solid: ^0.1.2
Include solid-auth-client.bundle.js in your HTML before your dart file.
<script src="solid-auth-client.bundle.js"></script> <script src="main.dart.js"></script>
You can find solid-auth-client.bundle.js here.
In your dart code, import
import 'package:solid/solid.dart' as solid;
Follow the Official Solid Documentation!
Whereas in Dart, you write
Add this to your package's pubspec.yaml file:
dependencies: solid: ^0.1.3
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.1.3||Sep 30, 2018|
|0.1.2||Sep 30, 2018|
|0.1.1||Sep 30, 2018|
|0.1.0||Sep 30, 2018|
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]
We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: web, other
Document public APIs (-10 points)
13 out of 13 API elements (library, class, field or method) have no adequate dartdoc content. Good documentation improves code readability and discoverability through search.
dartfmt to format
Maintain an example.
None of the files in your
example/ directory matches a known example patterns. Common file name patterns include:
example.dart or you could also use
solid.dart. Packages with multiple examples should use