findAndroidDir static method
Find Android directory in a Flutter project
Implementation
static String? findAndroidDir(String projectDir) {
final androidDir = path.join(projectDir, 'android');
if (Directory(androidDir).existsSync()) {
return androidDir;
}
return null;
}