stateIn static method
Return the State object used by the specified StatefulWidget object. Usually called in the StatefulWidget passing 'this' as a parameter.
Implementation
static StateSet? stateIn(StatefulWidget? widget) =>
widget == null ? null : _statefulStates[widget];