Skip to content

Commit

Permalink
add rootDir output for flutter
Browse files Browse the repository at this point in the history
  • Loading branch information
lingol committed Nov 16, 2020
1 parent ff33923 commit f32889c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flutter/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ class _MyAppState extends State<MyApp> {
// Platform messages are asynchronous, so we initialize in an async method.
Future<void> initPlatformState() async {

await MMKV.initialize();
final rootDir = await MMKV.initialize();
print('rootDir = $rootDir');

// If the widget was removed from the tree while the asynchronous platform
// message was in flight, we want to discard the reply rather than calling
Expand Down

0 comments on commit f32889c

Please sign in to comment.