flukki_product_tours 1.0.2 flukki_product_tours: ^1.0.2 copied to clipboard
First no-code product tour builder for Flutter. Made for non-tech people by Flutter enthusiasts
import 'package:flukki_product_tours/flukki_product_tours.dart';
import 'package:flutter/material.dart';
Future<void> main() async {
FlukkiWidgetsFlutterBinding.ensureInitialized();
Flukki.instance.initialize(appName: 'Awesome app', key: 'xyz');
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
home: FlukkiProductTour(
child: Scaffold(
appBar: AppBar(
title: const Text('Product tour creator demo'),
),
body: Center(
child: ElevatedButton(
child: const Text('Open builder'),
onPressed: () => Flukki.instance.turnOnBuilder(),
),
),
),
),
);
}
}