Finders extension

on

Methods

state<StateType extends State<StatefulWidget>>([Finder? subtreeScope]) → StateType?

Available on CommonFinders, provided by the Finders extension

Finds StatefulElements whose State is of type StateType, optionally scoped to the given subtreeScope, and returns the element's associated StateType object.