LaunchConfigState class
Central state for ScloudLaunchApp rendered by nocterm.
Constructors
-
LaunchConfigState({required String? defaultProjectId, required ProjectLaunch projectSetup, List<
String> existingProjectIds = const []})
Properties
-
activeOperations
→ Map<
String, TrackedOperation> -
Currently active tracked operations (keyed by ID).
final
- alert ↔ AlertMessage?
-
Alert pinned in the log panel until dismissed with Escape or replaced by
a newer alert. Rendered by the consumer via
AlertLine.getter/setter pairinherited - alertTime ↔ DateTime?
-
When
alertwas raised, shown alongside it. Null when unknown.getter/setter pairinherited - configurationFormState → FormState?
-
no setter
- ctrlCHint ↔ String?
-
Transient message shown at the bottom of the screen, e.g.
"Copied to clipboard" after a copy or "Press Ctrl-C again to exit" while
exit is armed. Null when nothing should be shown.
getter/setter pairinherited
- defaultProjectId → String?
-
Default project ID derived from pubspec, or null.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConfiguration → bool
-
no setter
- isLaunching → bool
-
no setter
- isProjectSelection → bool
-
no setter
-
logHistory
→ BoundedQueueList<
Object> -
Log history entries:
LogEntry(from serverpod_logging) orCompletedOperation.final - phase → LaunchPhase
-
no setter
- projectSelectionFormState → FormState
-
no setter
- projectSetup → ProjectLaunch
-
no setter
-
rawLines
→ BoundedQueueList<
String> -
Raw stdout/stderr lines for the "Raw server output" tab.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedText ↔ String
-
The text currently highlighted in a log view, or empty when there is no
selection. Updated as the user drags a selection and read when Ctrl-C is
pressed so the selection can be copied to the clipboard.
getter/setter pairinherited
Methods
-
goBackToProjectSelection(
) → void -
goToConfiguration(
) → void -
markLaunchingProject(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited