state property

  1. @protected
  2. @override
_ViewWidgetState<TViewModel> state
override

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

@protected
@override
_ViewWidgetState<TViewModel> get state =>
    super.state as _ViewWidgetState<TViewModel>;