A flutter plugin for generating a unique id
- Open a command line and cd to your projects root folder
- In your pubspec, add an entry for uuid_helper to your dependencies (example below)
- pub install
dependencies:
uuid_helper: latest
import 'package:uuid_helper/uuid_helper.dart';
var uuid = await UUIDHelper.getUniqueId();
Just like as 10550fe1-849e-4bc9-8a6d-b4c78e010cb1
.
On Android, It implemented by MediaDrm
and PsuedoID
.
On iOS, It implemented by KeyChains
.