Future<String> getAppDir() async { final directory = await getApplicationDocumentsDirectory(); return directory.path; }