controller property

T get controller

Implementation

T get controller {
  if (_controller == null) {
    _controller = _controllerBuilder?.call();
    _subscribeToController();
    if (_controller == null) {
      throw BindError(controller: T, tag: widget.tag);
    }
    return _controller!;
  } else {
    return _controller!;
  }
}