Reputation: 1
for this code Future get mylocalPath async { final directory = await getApplicationDocumentsDirectory();
return directory.path;
}
I tried flutter clean flutter pub get outgrade etc restrat
but no solve
For reading and writing in file, i need the path location
Upvotes: 0
Views: 92
Reputation: 1
Close the application and open it again, this problem happens when you add packages that need to be initialized when the application is compiled for the first time. Hope this helps
Upvotes: 0