renderSnapshot property

bool 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;
void renderSnapshot=(bool value)

Implementation

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