Skip to content

Commit

Permalink
example
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto committed Mar 7, 2024
1 parent 93560bf commit 73c5a59
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,12 @@ class _MyAppState extends State<MyApp> {
},
child: const Text("Reset"),
),
ElevatedButton(
onPressed: () async {
await _posthogFlutterPlugin.flush();
},
child: const Text("Flush"),
),
ElevatedButton(
onPressed: () async {
final result =
Expand Down

0 comments on commit 73c5a59

Please sign in to comment.