FLUTTER ECOSYSTEM

flutter_guid

Emulates C# Guid. Generate new UUIDs, add variables of type Guid to classes.

Latest version
0.3.1
30-day downloads
3.5K
Likes
20
Pub points
135

Package Overview

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

Overview

flutter_guid is a Dart package that emulates C# Guid functionality, enabling developers to generate and manage UUIDs (Universally Unique Identifiers) within Flutter applications. It provides a Guid class for creating new unique identifiers and allows adding Guid-typed variables to custom classes. The package supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux, making it ideal for cross-platform apps requiring consistent identifier generation. It's particularly useful in scenarios involving data synchronization, session tracking, or database key management where uniqueness and reliability are critical.

Use cases
  • Generating unique IDs for database records
  • Tracking user sessions across devices
  • Synchronizing data between clients
  • Creating secure tokens
  • Managing entity identifiers in state management
Key features
  • Cross-platform UUID generation
  • C# Guid-like API design
  • Support for Guid type in custom classes
  • Immutable and serializable Guid objects
  • Easy integration via pub.dev
Suitable for
  • Apps needing globally unique identifiers
  • Backend-integrated Flutter apps
  • Data-heavy applications with sync requirements
  • Developers familiar with C# Guid patterns
  • Projects requiring consistent ID generation across platforms
Considerations
  • Requires understanding of UUID standards
  • Not suitable for cryptographic key generation
  • May add minor overhead for simple use cases
  • Limited to identifier generation, not encryption or hashing
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add flutter_guid

Categories

Dependencies

Dependency list 2 items

Source repository

Related projects

No data available yet.