setSkinByName method
Implementation
void setSkinByName(String skinName) {
final Skin? skin = data.findSkin(skinName);
if (skin == null) throw StateError('Skin not found: $skinName');
setSkin(skin);
}
void setSkinByName(String skinName) {
final Skin? skin = data.findSkin(skinName);
if (skin == null) throw StateError('Skin not found: $skinName');
setSkin(skin);
}