isValidFlavorConfigFileName static method
Checks if a given filename matches the flutter native splash flavor config pattern The pattern is: flutter_native_splash-*.yaml where * is the flavor name
Returns true if the filename matches the pattern, false otherwise
Implementation
static bool isValidFlavorConfigFileName(String fileName) {
return RegExp(r'^flutter_native_splash-[^-]+\.yaml$').hasMatch(fileName);
}