Search packages, repositories and app categories

Package detailsv0.7.8

id_gen

A standardized and well-tested set of IDs generators: globally unique, readable, time-dependency, transitive, incremental, decremental IDs.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
56
Likes
6
Pub points
160

Install package

flutter pub add id_gen

Package Overview

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

id_gen is a robust Flutter/Dart package providing a variety of standardized ID generation strategies, including globally unique, readable, time-dependent, transitive, incremental, and decremental IDs. Designed for reliability and security, it supports multiple platforms such as Android, iOS, Web, macOS, Windows, and Linux. The package is well-tested and suitable for applications requiring predictable or secure identifiers across distributed systems. Its modular design allows developers to choose the appropriate ID type based on use case needs.

Use cases

  • Generating unique identifiers in distributed systems
  • Creating human-readable IDs for debugging
  • Implementing time-ordered IDs in databases
  • Supporting incremental or decremental sequences
  • Ensuring global uniqueness across services
  • Building secure, traceable ID schemes

Key features

  • Multiple ID generation strategies
  • Cross-platform compatibility
  • Well-tested and reliable
  • Time-dependent and transitive ID support
  • Readable and predictable output formats
  • Secure and collision-resistant designs

Suitable for

  • Backend services needing unique IDs
  • Applications with audit trails
  • Database primary key generation
  • Debugging and logging environments
  • Systems requiring ordered or sequential IDs
  • Security-sensitive applications

Considerations

  • Ensure proper seed management for deterministic IDs
  • Be cautious with time-dependent IDs in high-frequency scenarios
  • Verify compliance with data privacy regulations when using readable IDs
  • Test behavior under concurrent usage
  • Review performance implications for large-scale ID generation
  • Understand trade-offs between readability and entropy

Categories

Dependencies

Dependency list 3 items

Projects using this package

No data available yet.