Screen<T> class

Constructors

Screen()

Properties

isTransparent bool
Does this screen allow screens below it to be rendered?
read-only
ui UserInterface
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

activate(Screen<T> popped, [Object result]) → void
Called whenever this screen gets on top of the screens' stack result may have been given when popped had left the stack
dirty() → void
handleInput(T input) bool
If the UI has a bind for a specific key it lets the screen handle the input if it can. If the input passed can be handled returns true, otherwise false. In case the sceen can't handle the input, lower-level keyDown will be called
keyDown(KeyInput key) bool
render(CanvasTerminal terminal) → void
Render this screen onto terminal
resize(Vector size) → void
update() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited