dartbag 0.9.0+1 dartbag: ^0.9.0+1 copied to clipboard
A grab-bag of miscellaneous, lightweight utility libraries for Dart.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dartbag
With Flutter:
$ flutter pub add dartbag
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dartbag: ^0.9.0+1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dartbag/byte_data.dart';
import 'package:dartbag/collection.dart';
import 'package:dartbag/comparable.dart';
import 'package:dartbag/debug.dart';
import 'package:dartbag/matcher.dart';
import 'package:dartbag/math.dart';
import 'package:dartbag/misc.dart';
import 'package:dartbag/parse.dart';
import 'package:dartbag/random.dart';
import 'package:dartbag/readable_numbers.dart';
import 'package:dartbag/timer.dart';
import 'package:dartbag/tty.dart';