Search packages, repositories and app categories

Package detailsv0.5.1

instant

A package that exports functions for converting, formatting, and nicening of dates/times in Dart.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
2.5K
Likes
31
Pub points
140

Install package

flutter pub add instant

Package Overview

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

Instant is a Dart package designed to simplify date and time operations by providing utilities for converting, formatting, and enhancing date/time representations. It offers clean, intuitive functions that make working with timestamps and date strings more efficient and readable. Ideal for applications requiring consistent time handling across multiple platforms, it supports Android, iOS, Web, macOS, Windows, and Linux. The package focuses on developer experience with minimal boilerplate and clear syntax for common date manipulations.

Use cases

  • Formatting timestamps for display
  • Converting between date formats
  • Handling timezone differences
  • Parsing user input dates
  • Generating human-readable time intervals
  • Synchronizing time across platforms

Key features

  • Simple function-based API
  • Cross-platform compatibility
  • Timezone-aware operations
  • Readable output formatting
  • Lightweight and fast
  • Supports ISO and custom formats

Suitable for

  • Mobile app developers
  • Web applications
  • Desktop apps
  • Backend services using Dart
  • Teams needing consistent date handling

Considerations

  • Requires understanding of Dart's DateTime class
  • Limited to basic date/time transformations
  • No built-in calendar or recurring event support
  • Depends on external GitHub repository
  • Not suitable for complex scheduling logic

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Instant

A library for manipulating and formatting DateTimes in Dart. Dates and times have never been easier.

  • | DateTime timezone manipulation
  • | Easy formatting
  • | Current time/date displays
  • | Manual time/date displays
  • | Customizeable and modular
  • | A more sane stopwatch alternative

Instant is streamlined and easy to learn for beginners and experienced coders alike. To get started, visit:

  • | The docs: https://aditya-kishore.gitbook.io/instant/
  • | The auto-gen DartDocs: https://pub.dev/documentation/instant/latest/

Categories

Source repository

Projects using this package

No data available yet.