setSkinByName method

void setSkinByName(
  1. String skinName
)
inherited

Implementation

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