Rikulo Commons is a collection of common reusable Dart classes and utilities.
Rikulo Commons is distributed under an Apache 2.0 License.
Add this to your pubspec.yaml (or create it):
dependencies:
rikulo_commmons:
Library | Run on Server | Run on Client |
async.dart | Yes | Yes |
browser.dart | Yes | Yes |
io.dart | Yes | No |
logging.dart | Yes | Yes |
mirrors.dart | Yes | Yes |
util.dart | Yes | Yes |
If you'd like to contribute back to the core, you can fork this repository and send us a pull request, when it is ready.
Please be aware that one of Rikulo's design goals is to keep the sphere of API as neat and consistency as possible. Strong enhancement always demands greater consensus.
If you are new to Git or GitHub, please read this guide first.
Run this command:
With Dart:
$ dart pub add rikulo_commons
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
rikulo_commons: ^5.0.4
Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:rikulo_commons/async.dart';
import 'package:rikulo_commons/browser.dart';
import 'package:rikulo_commons/convert.dart';
import 'package:rikulo_commons/html.dart';
import 'package:rikulo_commons/io.dart';
import 'package:rikulo_commons/logging.dart';
import 'package:rikulo_commons/mirrors.dart';
import 'package:rikulo_commons/util.dart';
Author: rikulo
Official Website: https://github.com/rikulo/commons