tiki_sdk_flutter 2.1.4 tiki_sdk_flutter: ^2.1.4 copied to clipboard
A package for adding TIKI's decentralized infrastructure to Flutter projects. Add tokenized data ownership, consent, and rewards to your app in minutes.
import 'package:flutter/material.dart';
import 'package:tiki_sdk_flutter/main.dart';
const String origin = "com.mytiki.tiki_sdk_example";
const String publishingId = "e12f5b7b-6b48-4503-8b39-28e4995b5f88";
void main() async {
TikiSdk tikiSdk = await (TikiSdkBuilder()..publishingId(publishingId)..origin(origin)).build();
runApp(MyApp(tikiSdk));
}
class MyApp extends StatelessWidget {
final TikiSdk initialTikiSdk;
const MyApp(this.initialTikiSdk, {super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'TIKI SDK Example App',
home: Scaffold(body: Container()));
}
}