RenderPointerListener class
- Inheritance
-
- Implemented types
-
Methods
-
adoptChild(RenderObject child)
→ void
-
Attaches
child to this render object as its parent. Subclasses
that hold children call this whenever they accept one; it also
gives the parent a chance to ensure RenderObject.parentData is the right
type via setupParentData.
inherited
-
attachFrameDamageTracker(RenderDamageTracker tracker)
→ bool
-
Attaches the per-runtime damage tracker at this (root) render object.
inherited
-
childClipOf(RenderObject child)
→ CellRect?
-
The clip this render object imposes on
child, in its own coordinates,
or null when it does not clip. Usually the same rectangle for every
child (a viewport); a container with several scrolling regions — a
table with a pinned header — answers per child.
inherited
-
childOffsetOf(RenderObject child)
→ CellOffset
-
Where this render object paints
child, relative to its own origin.
inherited
-
computeMaxIntrinsicHeight(int? width)
→ int
-
The tallest this render object would want to be at the given
width.
inherited
-
computeMaxIntrinsicWidth(int? height)
→ int
-
The widest this render object would want to be at the given
height.
Most relevant override: text returns its unwrapped width.
inherited
-
computeMinIntrinsicHeight(int? width)
→ int
-
The shortest this render object can be at the given
width.
inherited
-
computeMinIntrinsicWidth(int? height)
→ int
-
The narrowest width below which content would clip. Text-like leaves
can return a longest-token width if they word-wrap.
inherited
-
computePaintOverflow()
→ CellRect?
-
inherited
-
dropChild(RenderObject child)
→ void
-
Detaches
child from this render object.
inherited
-
layout(CellConstraints constraints)
→ CellSize
-
Lays out this render object against
constraints and returns the
chosen size. Subclasses implement performLayout rather than
overriding this; the framework needs the bookkeeping around it.
inherited
-
markAncestorRepaintBoundariesDirty()
→ void
-
Marks every repaint boundary STRICTLY ABOVE this node as needing paint.
inherited
-
markNeedsLayout()
→ void
-
Marks this render object and its ancestors as needing layout, and marks
the nearest enclosing repaint boundary as dirty. Use this for changes
that can affect size, child constraints, child offsets, or layout-derived
paint state.
inherited
-
markNeedsPaintOnly()
→ void
-
Marks this render object's painted output as stale without touching
layout.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(CellBuffer buffer, CellOffset offset)
→ void
-
Paints this render object into
buffer at offset: its origin in the
buffer's coordinates. The buffer's bounds are the clip.
inherited
-
performLayout(CellConstraints constraints)
→ CellSize
-
Override to compute the chosen size and lay out children. Must
return a size that satisfies
constraints.
override
-
performPaint(CellBuffer buffer, CellOffset offset)
→ void
-
Paints this render object's cells into
buffer at offset.
override
-
presentsChild(RenderObject child)
→ bool
-
Whether
child is presented this frame: painted and interactive. False
for a child hidden by policy — an inactive IndexedStack child, a route
under an opaque route, an overlay entry under an opaque one, a list row
outside the mounted window, a contained-error subtree.
inherited
-
screenGeometry()
→ RenderGeometry?
-
This render object's screen geometry, derived from layout state: where
it is, and how much of it is visible.
inherited
-
setupParentData(RenderObject child)
→ void
-
Override to install a subclass of ParentData on the child. The
default is a no-op; multi-child render objects override this so a
child's
parentData is always the type that parent expects.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
visitRenderChildren(void visitor(RenderObject child))
→ void
-
Visits this render object's children in paint order. The default reads
the single-child / multi-child interfaces; a container whose
RenderObjectWithChildren.children accessor copies its list overrides
this to iterate in place, since hit-testing and geometry tooling walk
the tree on every event.
inherited