RenderContainer class

Inheritance

Constructors

RenderContainer({EdgeInsets? padding, EdgeInsets? margin, num? width, num? height, Color? background, Color? foreground, Color? color, Decoration? decoration, Decoration? foregroundDecoration, Alignment? alignment, HorizontalAlign align = HorizontalAlign.left, VerticalAlign verticalAlign = VerticalAlign.top})

Properties

align ↔ HorizontalAlign
getter/setter pair
alignment ↔ Alignment?
getter/setter pair
background ↔ Color?
getter/setter pair
children → List<RenderObject>
finalinherited
color ↔ Color?
getter/setter pair
constraints ↔ BoxConstraints
getter/setter pairinherited
decoration ↔ Decoration?
getter/setter pair
element ↔ Object?
getter/setter pairinherited
foreground ↔ Color?
getter/setter pair
foregroundDecoration ↔ Decoration?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
height ↔ num?
getter/setter pair
margin ↔ EdgeInsets?
getter/setter pair
offset ↔ Offset
Position relative to the parent render object, computed during layout.
getter/setter pairinherited
padding ↔ EdgeInsets?
getter/setter pair
paintDirty → bool
Whether this render object (or a descendant in its subtree) needs paint.
no setterinherited
paintOnlyDirty → bool
Whether all pending invalidations explicitly preserve layout geometry.
no setterinherited
parent ↔ RenderObject?
getter/setter pairinherited
parentData ↔ Object?
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size ↔ Size
getter/setter pairinherited
verticalAlign ↔ VerticalAlign
getter/setter pair
width ↔ num?
getter/setter pair

Methods

attach(RenderObject child) → void
inherited
clearPaintDirty() → void
Marks this render object's paint state as clean.
inherited
clearPaintDirtySubtree() → void
Marks this render object and all descendants as paint-clean.
inherited
detach(RenderObject child) → void
inherited
detachAll(Iterable<RenderObject> detachedChildren) → void
inherited
dispose() → void
inherited
hitTest(HitTestResult result, {required double localX, required double localY}) → bool
Performs hit-testing at (localX, localY) in this object's coordinate space. Adds matching entries to result, deepest first.
inherited
layout(BoxConstraints constraints) → void
override
markDescendantNeedsPaint() → void
Called when a descendant render object's paint output has changed.
inherited
markNeedsPaintOnly() → void
Marks this render object as needing paint without invalidating descendant-specific paint caches.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint() → String
override
toString() → String
A string representation of this object.
inherited

Operators

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