CommandModelRunnable class

Inheritance

Constructors

CommandModelRunnable({required String title, required String command, String? description, String? path})

Properties

args String?
getter/setter pairinherited
argsRequired bool
getter/setter pairinherited
command String
getter/setter pairinherited
controller ShellLinesController
getter/setter pairinherited
currentStep int
getter/setter pairinherited
description String?
finalinherited
errorOutput List<String>
getter/setter pairinherited
external bool
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
id String
finalinherited
isRunning bool
no setterinherited
output List<String>
getter/setter pairinherited
outputFile String?
getter/setter pairinherited
path String?
finalinherited
pathRequired bool
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shell Shell
getter/setter pairinherited
status ShellStatus
getter/setter pairinherited
title String
finalinherited
totalStep int
getter/setter pairinherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
exec(String command, {dynamic external = false, String? path, Shell? shell}) → dynamic
inherited
kill(VoidCallback refresh) → dynamic
inherited
liveShell(VoidCallback refresh, {Function? customCommand, VoidCallback? postLoad, dynamic live = false, ScrollController? scrollController, dynamic resetOutput = true}) Future<void>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
reset(VoidCallback refresh) → dynamic
inherited
run() → dynamic
inherited
runExternalCommand(dynamic command, dynamic path) → dynamic
Helps to create temporary script to run on the system
inherited
setArgs(String args) → dynamic
inherited
setShell(dynamic live, dynamic resetOutput) → dynamic
inherited
showOutput() List<TextSpan>
inherited
stopCmdModel() → void
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited