preview property
bool?
get
preview
An optional flag that controls if an {@link TextEditor editor}-tab shows as preview. Preview tabs will be replaced and reused until set to stay - either explicitly or through editing.
Note that the flag is ignored if a user has disabled preview editors in settings.
Implementation
_i2.bool? get preview => _i5.getProperty(
this,
'preview',
);
set
preview
(bool? value)
Implementation
set preview(_i2.bool? value) {
_i5.setProperty(
this,
'preview',
value ?? _i6.undefined,
);
}