renderSnapshot property

bool get renderSnapshot

If renderSnapshot is true then this component and all its children will be rendered once and cached. If renderSnapshot is false then this component will render normally.

Implementation

bool get renderSnapshot => _renderSnapshot;
set renderSnapshot (bool value)

Implementation

set renderSnapshot(bool value) {
  if (_renderSnapshot != value) {
    _renderSnapshot = value;
    if (_renderSnapshot == true) {
      _picture = null;
    }
  }
}