ScreenObjectContainer class
The ScreenObjectContainer represents a collection of screen objects.
- Inheritance
-
- Object
- ScreenObject
- ScreenObjectContainer
- Implementers
Constructors
Properties
-
children
→ List<
ScreenObject> -
Gets the list of children.
no setter
-
elements
↔ Map<
String, String> -
A map of element-specific properties.
getter/setter pairoverride
- 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
- type → String
-
The logical type of this screen object.
final
- 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.
-
invalidateLayout(
) → void -
Invalidates the current layout and propagates the change to parents.
inherited
-
layout(
ScreenRenderer renderer) → void -
Performs layout for this object using the given
renderer.override -
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.
-
snapshot(
) → ScreenObjectSnapshot -
Creates a snapshot representing the current state of this object.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited