solid 0.1.3

  • Installing
  • Versions
  • 47


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:

    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!

Differences from JavaScript

Currently, logging in from JavaScript is written as


Whereas in Dart, you write



  • Improved Pub listing with a longer description, and an example file.


  • Proper instructions in for usage.


  • Fixes in and


  • Initial version, Only including solid.auth.

Use this package as a library

1. Depend on it

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

  solid: ^0.1.3

2. Install it

You can install packages from the command line:

with pub:

$ pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:solid/solid.dart';
Version Uploaded Documentation Archive
0.1.3 Sep 30, 2018 Go to the documentation of solid 0.1.3 Download solid 0.1.3 archive
0.1.2 Sep 30, 2018 Go to the documentation of solid 0.1.2 Download solid 0.1.2 archive
0.1.1 Sep 30, 2018 Go to the documentation of solid 0.1.1 Download solid 0.1.1 archive
0.1.0 Sep 30, 2018 Go to the documentation of solid 0.1.0 Download solid 0.1.0 archive
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]
Learn more about scoring.

We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7


Detected platforms: web, other

Primary library: package:solid/solid.dart with components: js.

Health issues and suggestions

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.

Format lib/solid.dart.

Run dartfmt to format lib/solid.dart.

Maintenance suggestions

Maintain an example.

None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use solid.dart. Packages with multiple examples should use example/


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
js ^0.6.0 0.6.1+1
Dev dependencies
build_runner ^0.10.0
build_web_compilers ^0.4.0