initStateless method

void initStateless()

Implementation

void initStateless() {
  if (_isInit) {
    _initShowDone = showDone;
    _initShowClose = showClose;
    _initShowFlip = showFlip;
    _initShowStack = showStack;
    _initShouldScale = shouldScale;
    _initShouldRotate = shouldRotate;
    _initShouldMove = shouldMove;
    if (initMatrix != null) {
      notifier.value = initMatrix!;
      _scale = notifier.value.storage.first;
      _done();
    }
    _isInit = false;
  }
}