stateOf<T extends StatefulWidget>  method 
Retrieve the State object by its StatefulWidget. Returns null if not found.
Implementation
StateX? stateOf<T extends StatefulWidget>() =>
    _stateWidgetMap.isEmpty ? null : _stateWidgetMap[_type<T>()];