date_time_ago 0.0.1 copy "date_time_ago: ^0.0.1" to clipboard
date_time_ago: ^0.0.1 copied to clipboard

This project is for calculating "Date Time".

Date Time Ago #

This project is for calculating "Date Time".

Features #

Supported languages; English and Turkis for now.

Getting started #

// import package to page
import 'package:date_time_ago/date_time_ago';

Usage #

Include short and useful examples for package users. Add longer examples to "/example" folder.

// create once object
final dateTimeAgo = DateTimeAgo();

final dateTime = DateTime.now().subtract(const Duration(days: 1));

// default Turkish
print(dateTimeAgo.toCalculate(dateTime));

// usage English
print(dateTimeAgo.toCalculate(
     dateTime,
     locale: DateTimeAgoLocalesEnums.english,
   ));
1
likes
140
pub points
20%
popularity

Publisher

verified publisherekabav.dev

This project is for calculating "Date Time".

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on date_time_ago