of static method

Retrieve a State object by its StatefulWidget

Implementation

static State? of(StatefulWidget widget) => StateSet.stateIn(widget);