pathTheme method
Returns the path for the theme class name.
If isCustomParent, places it under overrides/themes, otherwise under ui/themes.
Implementation
List<String>? pathTheme(String themeName, { required bool isCustomParent }) {
final filename = _namedObjectToFilename(themeName, "Theme");
if(filename == null) {
return null;
}
final path = isCustomParent ? overrideThemesPath : themesPath;
return _createPath(path, filename);
}