sloth 1.0.2
sloth: ^1.0.2 copied to clipboard
Sloth combines all current and future packages provided under the sloth name. You can import sloth to have access to all class extensions or add the individual packages to your pubspec.yaml file.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add slothWith Flutter:
$ flutter pub add slothThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
sloth: ^1.0.2Alternatively, 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:sloth/sloth.dart';