slide property

int slide

get the current slide index

Implementation

int get slide => _slide;
  1. @internal
void slide=(int slide)

sets the current slide to the given value, while setting the previous slide value to the already existing slide value.

Implementation

@internal
set slide(int slide) {
  _previousSlide = _slide;
  _slide = slide;
}