StateXController constructor

StateXController([
  1. StateX<StatefulWidget>? state
])

Optionally supply a State object to 'link' to this object. Thus, assigned as 'current' StateX for this object

Implementation

StateXController([StateX? state]) {
  addState(state);
}