existFile static method

Future<bool> existFile(
  1. String filename
)

Implementation

static Future<bool> existFile(String filename) async {
  final file = await getFile(filename);
  return file.existsSync();
}