isPreviewing method

bool isPreviewing(
  1. String path
)

Whether path is drawn from an unsaved edit.

Implementation

bool isPreviewing(String path) => _previews.containsKey(path);