Answers for "flutter check if file exists"

0

flutter check if file exists

import 'dart:io' as io;
var syncPath = await path;
// for a file
io.File(syncPath).exists();
// for a directory
io.Directory(syncPath).exists();
Posted by: Guest on September-29-2021

Browse Popular Code Answers by Language