state property
The State instance associated with this location in the tree.
There is a one-to-one relationship between State objects and the StatefulElement objects that hold them. The State objects are created by StatefulElement in mount.
Implementation
State<StatefulWidget> get state => _state!;