mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-09 17:39:35 +00:00
check the location of flutter path-provider
This commit is contained in:
1 parent
5da8846a42
commit
4c3bcdd5bb
1 file changed
+3
@@ -13,6 +13,9 @@ Future<void> main() async {
|
|||||||
final dir = await getApplicationSupportDirectory();
|
final dir = await getApplicationSupportDirectory();
|
||||||
init(dbPath: '${dir.path}/app.db');
|
init(dbPath: '${dir.path}/app.db');
|
||||||
|
|
||||||
|
// %USERPROFILE%\AppData\Roaming\com.example\flutter_app
|
||||||
|
print(dir.path);
|
||||||
|
|
||||||
runApp(const MyApp());
|
runApp(const MyApp());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user