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.

example/lib/main.dart

import 'package:flutter/foundation.dart';
import 'package:flutter_snowflake/flutter_snowflake.dart';

void main() {
  final int id = Snowflake(3, 4).getId();
  if (kDebugMode) {
    print("Generated id $id");
  }
}
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