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