controller property

FlareController? get controller
inherited

Implementation

FlareController? get controller => _controller;
set controller (FlareController? c)
inherited

Implementation

set controller(FlareController? c) {
  if (_controller != c) {
    Mat2D.copy(_lastControllerViewTransform, Mat2D());
    _controller?.isActive.removeListener(onControllerActiveChange);
    _controller = c;
    _controller?.isActive.addListener(onControllerActiveChange);
    if (_controller != null && _actor != null) {
      _controller!.initialize(_artboard);
    }
  }
}