ago 0.0.4 copy "ago: ^0.0.4" to clipboard
ago: ^0.0.4 copied to clipboard

A new Flutter package project for displaying fuzzy time. Just for learning about how the dart packages work.

ago #

A new Flutter package project for displaying fuzzy time.

Install #

Add dependency to your pubspec.yaml:

ago: any

Get the packages:

flutter packages get

Usage #

import 'package:ago/ago.dart';
var justNow = DateTime.now().subtract(Duration(minutes: 3));
ago(justNow); // 刚刚

Test #

Run flutter test in the terminal.

Publish #

  • Remember to update version.
  • Run pub publish --dry-run.
  • If no warnings or erros,remove --dry-run and execute pub publish.

Getting Started #

For help getting started with Flutter, view our online documentation.

For help on editing package code, view the documentation.

0
likes
30
pub points
10%
popularity

Publisher

unverified uploader

A new Flutter package project for displaying fuzzy time. Just for learning about how the dart packages work.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on ago