updateColor method
- Set<
ProtoColor> ? value
Updates the color being chosen.
Implementation
void updateColor(Set<ProtoColor>? value) {
if (value == null) return;
color = value.isEmpty ? ProtoColor.UNLIT : value.first;
notifyListeners();
}
Updates the color being chosen.
void updateColor(Set<ProtoColor>? value) {
if (value == null) return;
color = value.isEmpty ? ProtoColor.UNLIT : value.first;
notifyListeners();
}