state property

set state (CarouselState? state)

Implementation

set state(CarouselState? state) {
  _state = state;
  if (!_readyCompleter.isCompleted) {
    _readyCompleter.complete();
  }
}