Screen class

Inheritance

Properties

children List<ScreenObject>
Gets the list of children.
no setterinherited
elements Map<String, String>
A map of element-specific properties.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
horizontalAlignment HorizontalAlignment
The horizontal alignment of this object within its parent.
getter/setter pairinherited
id String
The unique identifier of this screen object.
finalinherited
isVisible bool
Whether this object is visible.
getter/setter pairinherited
layoutMargin ScreenObjectEdgeInsets
The margin applied around this object during layout.
getter/setter pairinherited
parent ScreenObjectContainer?
The parent container of this object, if any.
getter/setter pairinherited
root ScreenObject?
Returns the root object of the hierarchy.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldInvalidateLayout bool
Whether this object requires a layout update.
no setterinherited
size ScreenObjectSize
Returns the frame rectangle of this object.
getter/setter pairinherited-getteroverride-setter
type String
The logical type of this screen object.
finalinherited
verticalAlignment VerticalAlignment
The vertical alignment of this object within its parent.
getter/setter pairinherited

Methods

addChild(ScreenObject child) → void
Adds the specified screen object as a child of the current screen object container.
override
dispose() Future<void>
invalidateLayout() → void
Invalidates the current layout and propagates the change to parents.
override
layout(dynamic renderer) → void
Performs layout for this object using the given renderer.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeChild(ScreenObject child) → void
Removes the specified screen object as a child of the current screen object container.
override
snapshot() ScreenObjectSnapshot
Creates a snapshot representing the current state of this object.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create(MediaMixer mixer) Future<Screen>