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