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();