lit_relative_date_time 1.1.0 copy "lit_relative_date_time: ^1.1.0" to clipboard
lit_relative_date_time: ^1.1.0 copied to clipboard

A Flutter package to generate relative dates to show differences in time in localized and human-readable format.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add lit_relative_date_time

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

dependencies:
  lit_relative_date_time: ^1.1.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:lit_relative_date_time/lit_relative_date_time.dart';
10
likes
150
pub points
79%
popularity

Publisher

unverified uploader

A Flutter package to generate relative dates to show differences in time in localized and human-readable format.

Repository
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on lit_relative_date_time