From 73c5a591136e283b6e5e3042044f81fb0b73f4e4 Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto Date: Thu, 7 Mar 2024 14:45:31 +0100 Subject: [PATCH] example --- example/lib/main.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/example/lib/main.dart b/example/lib/main.dart index 2dd3424..40e1795 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -152,6 +152,12 @@ class _MyAppState extends State { }, child: const Text("Reset"), ), + ElevatedButton( + onPressed: () async { + await _posthogFlutterPlugin.flush(); + }, + child: const Text("Flush"), + ), ElevatedButton( onPressed: () async { final result =