controller property

SlideController get controller

Implementation

SlideController get controller => _controller;
set controller (SlideController controller)

Implementation

set controller(SlideController controller) {
  if (_controller != controller) {
    final oldController = _controller;

    _controller = controller;

    if (attached) {
      oldController.removeListener(markNeedsLayout);
      _controller.addListener(markNeedsLayout);
    }
  }
}