FLUTTER ECOSYSTEM

time_ago_provider

library for generating fuzzy timestamp for example ("9 minutes ago")

Latest version
4.2.0
30-day downloads
225
Likes
33
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Flutter package that generates human-readable, fuzzy timestamps such as "9 minutes ago" or "2 hours ago". It simplifies displaying relative time differences in apps by automatically calculating and formatting time elapsed since a given date. Ideal for chat interfaces, social feeds, and activity logs where real-time updates are important. The package supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, ensuring consistent behavior across devices. It integrates seamlessly with Flutter's state management through a provider pattern.

Use cases
  • Chat applications
  • Social media feeds
  • Activity logs
  • Notification timestamps
  • Real-time updates
Key features
  • Fuzzy time formatting
  • Provider-based state management
  • Cross-platform support
  • Automatic time calculation
  • Lightweight and easy to integrate
Suitable for
  • Developers building real-time UIs
  • Apps with timestamped content
  • Projects requiring simple time formatting
  • Flutter apps targeting multiple platforms
Considerations
  • Requires a valid DateTime input
  • Does not handle timezone conversions
  • Limited customization options
  • Depends on external provider pattern
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add time_ago_provider

Categories

Related projects