Compare commits
2 Commits
98464d3f67
...
7c6237593b
Author | SHA1 | Date |
---|---|---|
snehalathad@aissel.com | 7c6237593b | |
poojakhatawate | 8b459b1170 |
|
@ -225,7 +225,12 @@ class _RankingState extends State<Ranking> {
|
||||||
..click();
|
..click();
|
||||||
} else {
|
} else {
|
||||||
// final String path = (await getApplicationDocumentsDirectory()).path;
|
// final String path = (await getApplicationDocumentsDirectory()).path;
|
||||||
final directory = await getExternalStorageDirectory();
|
//final directory = await getExternalStorageDirectory();
|
||||||
|
|
||||||
|
Directory? directory = Platform.isAndroid
|
||||||
|
? await getExternalStorageDirectory()
|
||||||
|
: await getApplicationDocumentsDirectory();
|
||||||
|
|
||||||
final path = directory!.path;
|
final path = directory!.path;
|
||||||
print("IamPathh: $path");
|
print("IamPathh: $path");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue