getApplicationDocumentsDirectory(): Gives path to the directory where Application can place it’s private files, Files only get wiped out when application itself removed. iOS – NSDocumentsDirectory API. Android – returns AppData directory .
Read moreHow do you get the current directory in Flutter?
Directory getCurrentDirectory() => _Directory. current; Flutter.
Read moreWhat is getApplicationDocumentsDirectory Flutter?
getApplicationDocumentsDirectory function Null safety Path to a directory where the application may place data that is user-generated, or that cannot otherwise be recreated by your application .
Read more