preview property

bool? preview

An optional flag that controls if an {@link NotebookEditornotebook editor}-tab shows as preview. Preview tabs will be replaced and reused until set to stay - either explicitly or through editing. The default behaviour depends on the workbench.editor.enablePreview-setting.

Implementation

_i2.bool? get preview => _i5.getProperty(
      this,
      'preview',
    );