Surface class

Replaces spaces in the child with opaque spaces.

Inheritance

Constructors

Surface({required Renderable child})
Replaces spaces in the child with opaque spaces.
const

Properties

child Renderable
Child.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getSize(WriggleContext context, Axis axis, int crossSize) int?
Report this item's intrinsic size, or null if it has none.
override
getUsageInfo(WriggleContext context) UsageInfo
Return usage info for this renderable, or redirect to its child.
override
keyPressed(WriggleContext context, KeyInput key) bool
Handle key presses. Return true if the key was absorbed, or false if another listener further up the tree should handle it.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(WriggleContext context, int width, int height) AxelMap
Produce an AxelMap of the specified size to be shown on screen.
override
toString() String
A string representation of this object.
inherited

Operators

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