Creates a State with stateName.
stateName
State createState(String stateName) { var state = getState(stateName); state ??= State(this, stateName); return state; }