controller property

StateXController? controller
inherited

Provide the 'main' controller to this 'State View.' If _controller == null, get the 'first assigned' controller if any.

Implementation

StateXController? get controller => _controller ??= firstCon;