z_time_ago 0.1.2
z_time_ago: ^0.1.2 copied to clipboard
A flutter package to get duration between current date and a given date for kurdish, arabic and english languages.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add z_time_agoThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
z_time_ago: ^0.1.2Alternatively, 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:z_time_ago/z_time_ago.dart';