findCustomBootstrapTemplate method
Inspects the project for an existing custom web/flutter_bootstrap.js template.
Implementation
Future<File?> findCustomBootstrapTemplate(Directory projectDir) async {
final file = File(
'${projectDir.path}${Platform.pathSeparator}web${Platform.pathSeparator}flutter_bootstrap.js',
);
if (await file.exists()) {
return file;
}
return null;
}