constants library

Constants

heartbeatIntervalSeconds → const int
killTimeoutSeconds → const int
launchTimeoutSeconds → const int
pollIntervalMs → const int
reloadTimeoutSeconds → const int
restartTimeoutSeconds → const int
sessionDirName → const String
Name of the session directory created inside the Flutter project.
version → const String
fdb version — update this AND pubspec.yaml on every release.

Properties

appIdFile String
no setter
appPidFile String
no setter
defaultScreenshotPath String
no setter
deviceFile String
no setter
launcherScript String
no setter
logCollectorPidFile String
no setter
logCollectorScript String
no setter
logFile String
no setter
pidFile String
no setter
platformFile String
no setter
vmUriFile String
no setter

Functions

ensureSessionDir() String
Ensure the session directory exists and return its path.
initSessionDir(String projectPath) → void
Override the session directory (e.g. from --project). The path is resolved to absolute so that detached processes (launcher script, log collector) can find it regardless of their CWD.
initSessionDirFromPath(String sessionDirPath) → void
Override the session directory from an explicit --session-dir flag. Skips auto-resolution entirely — the caller is responsible for the path.
resolveSessionDir({Directory? start}) String?
Auto-locate the session directory by walking up from start (defaults to CWD) looking for an existing .fdb/ directory whose PID file points at a live process.