sloth_datetime 1.0.0+1 copy "sloth_datetime: ^1.0.0+1" to clipboard
sloth_datetime: ^1.0.0+1 copied to clipboard

Extensions for the DateTime class

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add sloth_datetime

With Flutter:

 $ flutter pub add sloth_datetime

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  sloth_datetime: ^1.0.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:sloth_datetime/sloth_datetime.dart';
1
likes
150
points
0
downloads

Publisher

verified publisherynnob.com

Weekly Downloads

Extensions for the DateTime class

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on sloth_datetime