openedFile property

String? get openedFile

Currently opened file.

Implementation

String? get openedFile => _openedFile;
set openedFile (String? file)

Open a file using the controller API instead of passing filePath parameter to CodeForge

Implementation

set openedFile(String? file) {
  _openedFile = file;
  if (openedFile != null) {
    text = File(_openedFile!).readAsStringSync();
  }
}