flutter_snowflake 0.0.4 copy "flutter_snowflake: ^0.0.4" to clipboard
flutter_snowflake: ^0.0.4 copied to clipboard

Snowflake is a network service for generating unique ID numbers at high scale with some simple guarantees.

Language: 中文简体 | English

flutter_snowflake #

SnowFlake id generator, inspired by Twitter. For more details, you can read the following doc: Twitter IDs

🐱 Usage #

Add dependency #

dependencies:
  flutter_snowflake: ^0.0.4

Generate id #

final int id = Snowflake(2, 3).getId();
3
likes
160
points
24
downloads

Publisher

verified publisherhuhx.cn

Weekly Downloads

Snowflake is a network service for generating unique ID numbers at high scale with some simple guarantees.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_snowflake