sloth 1.0.1+1 copy "sloth: ^1.0.1+1" to clipboard
sloth: ^1.0.1+1 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.

ARE YOU A SLOTH? - SLOTH CORE #

Features #

  • DateTime extension:
    • secondsSinceEpoch

Getting started #

With dart:

 $ dart pub add sloth

With Flutter:

 $ flutter pub add sloth

Usage #

Import the package

import 'package:sloth/sloth.dart';

Access the extensions:

  // get secondsSinceEpoch
  int seconds = DateTime.now().secondsSinceEpoch;
  print("Seconds since epoch $seconds s");
1
likes
150
points
2
downloads

Publisher

verified publisherynnob.com

Weekly Downloads

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.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

sloth_datetime, sloth_link_crawler

More

Packages that depend on sloth