Expand description
Flutter counterpart: package:flutter/rendering.dart.
arbitrary_self_types
lets authored methods take self: RenderHandle<Self>.
Macros§
- container_
layer_ accessors - Implements the
ContainerLayerfield accessors for acontainer_layerfield. - layer_
accessors - Implements the
Layerfield accessors for alayerfield. - offset_
layer_ accessors - Implements the
OffsetLayerMixinfield accessors for anoffset_layerfield. - render_
box_ accessors - Implements
RenderBoxfield accessors for arender_boxfield. - render_
object_ accessors - Implements the
RenderObjectfield accessors for arender_objectfield. - render_
sliver_ accessors - Implements
RenderSliverfield accessors for arender_sliverfield. - render_
sliver_ fixed_ extent_ accessors - Implements
RenderSliverFixedExtentBoxAdaptorfield accessors for afixed_extentfield. - render_
sliver_ multi_ box_ adaptor_ accessors - Implements
RenderSliverMultiBoxAdaptorfield accessors for anadaptorfield. - render_
sliver_ persistent_ header_ accessors - Implements
RenderSliverPersistentHeaderfield accessors for aheaderfield. - render_
viewport_ base_ accessors - Implements
RenderViewportBasefield accessors for aviewportfield.
Structs§
- Alignment
Geometry Tween - An interpolation between two
AlignmentGeometry. - Alignment
Tween - An interpolation between two alignments.
- Annotated
Region Layer - A composited layer which annotates its children with a value. Pushing this layer to the tree is the common way of adding an annotation.
- Annotation
Entry - Information collected for an annotation that is found in the layer tree.
- Annotation
Result - Information collected about a list of annotations that are found in the layer tree.
- Annotation
Search - Dart’s
AnnotationResult<S>while a search walks the tree: the type it looks for and what it has found, erased soLayer::find_annotationscan sit in a vtable.AnyLayer::findandAnyLayer::find_all_annotationsturn it back into anAnnotationResult<S>. SeePORTING.md. - AnyContainer
Layer - Erased
ContainerLayer. - AnyLayer
- Erased
Layer: one identity and a static vtable, the fat pointer rustc cannot build for an arena id. No lease. - AnyOffset
Layer - Erased
OffsetLayer: whatRenderObject.updateCompositedLayerreturns andPaintingContextpositions. - AnyRender
Abstract Viewport - Erased
RenderAbstractViewport: what a field or parameter Dart types asRenderAbstractViewportbecomes. - AnyRender
Box - Erased
RenderBox. - AnyRender
Object - Erased
RenderObject: one identity and a static vtable, the fat pointer rustc cannot build for an arena id. No lease. - AnyRender
Sliver - Erased
RenderSliver. - AnyRender
Sliver Floating Persistent Header - Erased
RenderSliverFloatingPersistentHeader: what Dart’sfindAncestorRenderObjectOfType<RenderSliverFloatingPersistentHeader>()hands back. - AnyViewport
Offset - Erased
ViewportOffset: what a field or parameter Dart types asViewportOffsetbecomes. - Backdrop
Filter Layer - A composited layer that applies a filter to the existing contents of the scene.
- Backdrop
Key - A key that identifies a group of backdrop filters that share one backdrop.
- Baseline
Offset - A wrapper that represents the baseline location of a
RenderBox. - BoxConstraints
- Immutable layout constraints for
RenderBoxlayout. - BoxHit
Test Entry - A hit test entry used by
RenderBox. - BoxHit
Test Result - The result of performing a hit test on
RenderBoxes. - BoxParent
Data - Parent data used by
RenderBoxand its subclasses. - Child
Layout Helper - A collection of functions to lay a box child out with the given set of
BoxConstraints. - Clip
Path Layer - A composite layer that clips its children using a path.
- ClipR
Rect Layer - A composite layer that clips its children using a rounded rectangle.
- Clip
Rect Layer - A composite layer that clips its children using a rectangle.
- Container
Layer Data - Flutter’s
ContainerLayerfields, held under the fieldcontainer_layer([container_layer_accessors!]). - Container
Parent Data - Flutter’s
ContainerParentDataMixinfields: the links of a doubly-linked child list. - Container
Render Object Data - Flutter’s
ContainerRenderObjectMixinfields: the head and tail of the child list, and its length. - Embedded
Layer - A layer that places a composition layer the host composites: Flutter’s
PlatformViewLayer. - Empty
Parent Data - Flutter’s
ParentData()— no subclass fields. - Fixed
Column Width - Sizes the column to a specific number of pixels.
- Fixed
Viewport Offset - A
ViewportOffsetwhosepixelsvalue does not change unless the viewport issues a correction. - Flex
Column Width - Sizes the column by taking a part of the remaining space once all the other columns have been laid out.
- Flex
Parent Data - Parent data for use with
RenderFlex. - Floating
Header Snap Configuration - Specifies how a floating header is to be “snapped” (animated) into or out of view.
- Follower
Layer - A composited layer that applies a transformation matrix to its children such that they are
positioned to match a
LeaderLayer. - Fraction
Column Width - Sizes the column to a fraction of the table’s constraints’
max_width. - Fractional
Offset Tween - An interpolation between two fractional offsets.
- Image
Filter Context - Contextual information used when resolving an
ImageFilterConfig. - Intrinsic
Column Width - Sizes the column according to the intrinsic dimensions of all the cells in that column.
- Keep
Alive Parent Data - Parent data structure used by
RenderSliverWithKeepAliveMixin. - Layer
Data - Flutter’s
Layerfields, held by every layer under the fieldlayer([layer_accessors!]). - Layer
Handle - A handle to prevent a
Layer’s platform graphics resources from being disposed. - Layer
Link - An object that a
LeaderLayercan register with. - Layout
Sizes - What
RenderFlexMixin::compute_sizesworked out about a layout. - Leader
Layer - A composited layer that can be followed by a
FollowerLayer. - Line
Boundary - A
TextBoundarysubclass for locating closest line breaks to a givenposition. - MaxColumn
Width - Sizes the column such that it is the size that is the maximum of two column width specifications.
- MinColumn
Width - Sizes the column such that it is the size that is the minimum of two column width specifications.
- Mouse
Tracker - Tracks the relationship between mouse devices and annotations, and triggers mouse events and cursor changes accordingly.
- Multi
Child Layout Children - The children a
MultiChildLayoutDelegatelays out, keyed by theirMultiChildLayoutParentData::id. - Multi
Child Layout Parent Data ParentDataused byRenderCustomMultiChildLayoutBox.- Offset
Layer - Flutter’s concrete
OffsetLayer; the bodies areOffsetLayerMixin. - Offset
Layer Data - Flutter’s
OffsetLayerfields, held under the fieldoffset_layer([offset_layer_accessors!]). - Opacity
Layer - A composited layer that makes its children partially transparent.
- Over
Scroll Header Stretch Configuration - Specifies how a stretched header is to trigger a callback.
- Painting
Context - A place to paint.
- Persistent
Header Show OnScreen Configuration - Specifies how a pinned header or a floating header should react to
crate::RenderObject::show_on_screencalls. - Picture
Layer - A composited layer containing a
Picture. - Pipeline
Owner - The pipeline owner manages the rendering pipeline.
- Relative
Rect - An immutable 2D, axis-aligned, floating-point rectangle whose coordinates are given relative to another rectangle’s edges, known as the container.
- Relayout
When System Fonts Change Data - Flutter’s
RelayoutWhenSystemFontsChangeMixinfields. - Render
Absorb Pointer - A render object that absorbs pointers during hit testing.
- Render
Aligning Shifted BoxData - The mixin fields of
RenderAligningShiftedBox. - Render
Animated Opacity - Makes its child partially transparent, driven from an
AnyAnimation. - Render
Animated Opacity Data - The mixin fields of
RenderAnimatedOpacityMixin. - Render
Animated Size - A render object that animates its size to its child’s size over a given
durationand with a givencurve. - Render
Annotated Region - Annotates a region of the layer tree with a value.
- Render
Aspect Ratio - Attempts to size the child to a specific aspect ratio.
- Render
Backdrop Filter - Applies a filter to the existing painted content and then paints
child. - Render
Baseline - Shifts the child down such that the child’s baseline (or the bottom of the child, if the child
has no baseline) is
baselinelogical pixels below the top of this box, then sizes this box to contain the child. - Render
BoxData - Flutter’s
RenderBoxfields. - Render
Clip Oval - Clips its child using an oval.
- Render
Clip Path - Clips its child using a path.
- Render
ClipR Rect - Clips its child using a rounded rectangle.
- Render
ClipR Superellipse - Clips its child using a rounded superellipse.
- Render
Clip Rect - Clips its child using a rectangle.
- Render
Colored Box - Paints its area with a specified
Colorand then draws its child on top of that color. - Render
Composition Layer View - Shows a composition layer in the box it is given.
- Render
Constrained Box - Imposes additional constraints on its child.
- Render
Constrained Overflow Box - A render object that imposes different constraints on its child than it gets from its parent, possibly allowing the child to overflow the parent.
- Render
Constraints Transform Box - A
RenderBoxthat applies an arbitrary transform to its constraints, and sizes its child using the resultingBoxConstraints, optionally clipping, or treating the overflow as an error. - Render
Custom Clip Data - The fields of
RenderCustomClip. - Render
Custom Multi Child Layout Box - Defers the layout of multiple children to a delegate.
- Render
Custom Paint - Delegates its painting to a
painterand aforeground_painter. - Render
Custom Single Child Layout Box - Defers the layout of its single child to a delegate.
- Render
Decorated Box - Paints a
Decorationeither before or after its child paints. - Render
Editable - Displays some text in a scrollable container with a potentially blinking cursor and with gesture recognizers.
- Render
Fitted Box - Scales and positions its child within itself according to
fit. - Render
Flex - Displays its children in a one-dimensional array.
- Render
Flex Data - The fields of a
RenderFlex. - Render
Follower Layer - Transforms its child using a transform matrix computed at composite time from the link’s
RenderLeaderLayer: the child paints where the leader is, whatever lies between them. - Render
Fractional Translation - Applies a translation transformation before painting its child.
- Render
Fractionally Sized Overflow Box - Sizes its child to a fraction of the total available space.
- Render
Handle - Typed access to a concrete render object’s class-specific state.
- Render
Ignore Pointer - A render object that is invisible during hit testing.
- Render
Image - Draws an image into the box it is given. Flutter
RenderImage. - Render
Indexed Stack - Implements the same layout algorithm as
RenderStackbut only paints the child specified byindex. - Render
Intrinsic Height - Sizes its child to the child’s intrinsic height.
- Render
Intrinsic Width - Sizes its child to the child’s maximum intrinsic width.
- Render
Leader Layer - Provides an anchor for a
RenderFollowerLayer. - Render
Limited Box - Constrains the child’s
BoxConstraints::max_widthandBoxConstraints::max_heightif they’re otherwise unconstrained. - Render
Meta Data - Holds opaque meta data in the render tree.
- Render
Mouse Region - Calls callbacks in response to pointer events that are exclusive to mice.
- Render
Object Data - Flutter’s
RenderObjectfields. - Render
Object With Child Data - Flutter’s
RenderObjectWithChildMixinchild slot. - Render
Object With Layout Callback Data - The bag of
RenderObjectWithLayoutCallbackMixin. - Render
Offstage - Lays the child out as if it was in the tree, but without painting anything, without making the child available for hit testing, and without taking any room in the parent.
- Render
Opacity - Makes its child partially transparent.
- Render
Padding - Insets its child by the given padding.
- Render
Paragraph - A render object that displays a paragraph of text.
- Render
Pointer Listener - Calls callbacks in response to common pointer events.
- Render
Positioned Box - Positions its child using an
AlignmentGeometry. - Render
Repaint Boundary - Creates a separate display list for its child.
- Render
Shrink Wrapping Viewport - A render object that is bigger on the inside and shrink wraps its children in the main axis.
- Render
Sized Overflow Box - A render object that is a specific size but passes its original constraints through to its child, which it allows to overflow.
- Render
Sliver Data - Flutter’s
RenderSliverfields. - Render
Sliver Fixed Extent BoxAdaptor Data - Flutter’s
RenderSliverFixedExtentBoxAdaptorfield. - Render
Sliver Fixed Extent List - A sliver that places multiple box children with the same main axis extent in a linear array.
- Render
Sliver Floating Persistent Header Data - Flutter’s
RenderSliverFloatingPersistentHeaderfields. - Render
Sliver Grid - A sliver that places multiple box children in a two dimensional arrangement.
- Render
Sliver List - A sliver that places multiple box children in a linear array along the main axis.
- Render
Sliver Multi BoxAdaptor Data - Flutter’s
RenderSliverMultiBoxAdaptorfields. - Render
Sliver Padding - Insets a
RenderSliver, applying padding on each side. - Render
Sliver Persistent Header Data - Flutter’s
RenderSliverPersistentHeaderfields. - Render
Sliver Pinned Persistent Header Data - Flutter’s
RenderSliverPinnedPersistentHeaderfield. - Render
Sliver Scrolling Persistent Header Data - Flutter’s
RenderSliverScrollingPersistentHeaderfield. - Render
Sliver ToBox Adapter - A
RenderSliverthat contains a singlecrate::RenderBox. - Render
Sliver Varied Extent List - A sliver that places multiple box children with the corresponding main axis extent in a linear array.
- Render
Stack - The plain
RenderStackBase: paints every child in order. - Render
Stack Data - Flutter’s
RenderStackfields. - Render
Table - A table where the columns and rows are sized to fit the contents of the cells.
- Render
Transform - Applies a transformation before painting its child.
- Render
Video Frame View - Draws a video’s frames in the box it is given.
- Render
View - The root of the render tree.
- Render
Viewport - A render object that is bigger on the inside.
- Render
Viewport Base Data - Flutter’s
RenderViewportBasefields. - Render
Wrap - Displays its children in multiple horizontal or vertical runs.
- Renderer
Binding - Revealed
Offset - Return value for
RenderAbstractViewport::get_offset_to_reveal. - Shape
Border Clipper - A
CustomClipperthat clips to the outer path of aShapeBorder. - Sliver
Constraints - Immutable layout constraints for
RenderSliverlayout. - Sliver
Geometry - The amount of space a sliver occupies.
- Sliver
Geometry Builder SliverGeometryBuildercollects aSliverGeometry’s values, as Dart’s constructor takes them, and fills in the ones left out when it builds.- Sliver
Grid Delegate With Fixed Cross Axis Count - Creates grid layouts with a fixed number of tiles in the cross axis.
- Sliver
Grid Delegate With MaxCross Axis Extent - Creates grid layouts with tiles that each have a maximum cross-axis extent.
- Sliver
Grid Geometry - Describes the placement of a child in a
RenderSliverGrid. - Sliver
Grid Parent Data - Parent data structure used by
RenderSliverGrid. - Sliver
Grid Regular Tile Layout - A
SliverGridLayoutthat uses equally sized and spaced tiles. - Sliver
HitTest Entry - A hit test entry used by
RenderSliver. - Sliver
HitTest Result - The result of performing a hit test on
RenderSlivers. - Sliver
Layout Dimensions - Relates the dimensions of the
RenderSliverduring layout. - Sliver
Logical Container Parent Data - Parent data for slivers that have multiple children and that position their children using layout offsets.
- Sliver
Logical Parent Data - Parent data structure used by parents of slivers that position their children using layout offsets.
- Sliver
Multi BoxAdaptor Parent Data - Parent data structure used by
RenderSliverMultiBoxAdaptor. - Sliver
Physical Container Parent Data - Parent data for slivers that have multiple children and that position their children using absolute coordinates.
- Sliver
Physical Parent Data - Parent data structure used by parents of slivers that position their children using absolute coordinates.
- Stack
Parent Data - Parent data for use with
RenderStack. - Table
Border - Border specification for
Tablewidgets. - Table
Cell Parent Data - Parent data used by
RenderTablefor its children. - Text
Parent Data - Parent data used by
RenderParagraphandRenderEditableto annotate inline contents (such asWidgetSpans) with. - Text
Selection Point - Represents the coordinates of the point in a selection, and the text
direction at that point, relative to top left of the
RenderEditablethat holds the selection. - Ticker
Provider Ref - An erased
TickerProvidera render object can hold as a field, compared by identity. - Transform
Layer - A composited layer that applies a given transformation matrix to its children.
- Vertical
Caret Movement Run - Starts at a text position and walks vertically through line metrics.
- Video
Layer - A layer that draws a video as part of the picture: Flutter’s
TextureLayerand Chromium’scc::VideoLayer, over the reader itself in place of a texture id or a frame provider. - View
Configuration - The layout constraints for the root render object.
- Viewport
Offset Base - The shared bodies of
ViewportOffset: call one where Dart writessuper.…. - Word
Boundary - A
TextBoundarysubclass for locating word breaks. - Wrap
Parent Data - Parent data for use with
RenderWrap.
Enums§
- Cache
Extent Style - The unit of measurement for a viewport’s cache extent.
- Cross
Axis Alignment - How the children should be placed along the cross axis in a flex layout.
- Decoration
Position - Where to paint a box decoration.
- DryLayout
Failure - Why a box cannot compute a dry layout, for
RenderBox::debug_cannot_compute_dry_layout. - FlexFit
- How the child is inscribed into the available space.
- Growth
Direction - The direction in which a sliver’s contents are ordered, relative to the scroll offset axis.
- HitTest
Behavior - How to behave during hit tests.
- Image
Filter Config - A description of an
ImageFilterthat is resolved against anImageFilterContextat paint time. - Main
Axis Alignment - How the children should be placed along the main axis in a flex layout.
- Main
Axis Size - How much space should be occupied in the main axis.
- Overflow
BoxFit - How much space should be occupied by the
RenderConstrainedOverflowBoxwhen it is not overflowing. - Render
Animated Size State - A
RenderAnimatedSizecan be in exactly one of these states. - Scroll
Cache Extent - The amount of additional content to display and lay out around the viewport.
- Scroll
Direction - The direction of a scroll, relative to the positive scroll offset.
- Sliver
Paint Order - Specifies an order in which to paint the slivers of a viewport.
- Stack
Fit - How to size the non-positioned children of a
RenderStack. - Table
Cell Vertical Alignment - Vertical alignment options for cells in
RenderTableobjects. - Wrap
Alignment - How
RenderWrapshould align objects. - Wrap
Cross Alignment - Who
RenderWrapshould align children within a run in the cross axis.
Traits§
- Constraints
- Immutable layout constraints.
- Container
BoxParent Data - Parent data for a
RenderBoxsubclass that usesContainerRenderObjectMixin. - Container
Layer - A composited layer that has a list of children.
- Container
Parent Data Mixin - Parent data to support a doubly-linked list of children.
- Container
Render Object Base - Flutter’s
ContainerRenderObjectMixinbodies that an override calls throughsuper. - Container
Render Object Mixin - Generic mixin for render objects with a list of children.
- Custom
Clipper - An interface for providing custom clips.
- Custom
Painter - The interface used by
CustomPaint(in the widgets library) andRenderCustomPaint(in the rendering library). - Erased
Layer - A layer handle of any concreteness —
AnyLayer,AnyContainerLayer,AnyOffsetLayeror a typedHandle<L>— for what aLayerHandlecan hold. Dart’sT extends Layer. - Erased
Render Object - An erased render object a parent can hold as a child: Dart’s
ChildType extends RenderObjecttype argument ofRenderObjectWithChildMixinandContainerRenderObjectMixin. - Layer
- A composited layer.
- Layer
Base - The bodies of Flutter’s
Layerthat a subclass calls assuper:LayerBase::dispose(self, app)where Dart writessuper.dispose(). The virtual call is onAnyLayer. - Multi
Child Layout Delegate - A delegate that controls the layout of multiple children.
- Offset
Layer Mixin - A layer that is displayed at an offset from its parent layer.
- Parent
Data - Data associated with a child by its parent.
- Pipeline
Manifold - Manages a tree of
PipelineOwners. - Relayout
When System Fonts Change Mixin - Mixin for a
RenderObjectthat relayouts when system fonts change. - Render
Abstract Viewport - An interface for render objects that are bigger on the inside.
- Render
Aligning Shifted Box - Abstract class for one-child-layout render boxes that use a
AlignmentGeometryto align their children. - Render
Animated Opacity Mixin - Implementation of
RenderAnimatedOpacityandRenderSliverAnimatedOpacity. - Render
Box - A render object in a 2D Cartesian coordinate system.
- Render
BoxContainer Defaults Mixin - A mixin that provides useful default behaviors for boxes with children managed by the
ContainerRenderObjectMixinmixin. - Render
Custom Clip - A base class for render boxes that clip their child.
- Render
Flex Mixin - Displays its children in a one-dimensional array.
- Render
Inline Children Container Defaults - A mixin that provides useful default behaviors for text
RenderBoxes (RenderParagraphandRenderEditablefor example) with inline content children managed by theContainerRenderObjectMixinmixin. - Render
Object - Class-specific render object: the data accessors and the virtuals, nothing else. Methods
take
RenderHandle<Self>so they can re-enter the same slot throughApp. - Render
Object Base - Flutter’s
RenderObjectbodies that an override calls throughsuper. - Render
Object With Child Mixin - A render object with a single child.
- Render
Object With Layout Callback Mixin - A mixin for
RenderObjects that run a layout callback (typically one that builds a widget subtree) duringperform_layout, asLayoutBuilder’s render object does. - Render
Proxy BoxMixin - A base class for render boxes that resemble their children.
- Render
Proxy BoxWith HitTest Behavior - A
RenderProxyBoxMixinthat allows customizing its hit-test behavior. - Render
Shifted Box - Abstract class for one-child-layout render boxes that provide control over the child’s position.
- Render
Sliver - A render object using the sliver protocol.
- Render
Sliver BoxChild Manager - A delegate used by
RenderSliverMultiBoxAdaptorto manage its children. - Render
Sliver Edge Insets Padding - A sliver that insets another sliver by applying resolved padding on each side.
- Render
Sliver Fixed Extent BoxAdaptor - A sliver that contains multiple box children that have the same extent in the main axis.
- Render
Sliver Floating Persistent Header - A sliver with a box child which shrinks and scrolls like a
RenderSliverScrollingPersistentHeader, but immediately comes back when the user scrolls in the reverse direction. - Render
Sliver Floating Pinned Persistent Header - A sliver with a box child which shrinks and then remains pinned to the start of the viewport
like a
RenderSliverPinnedPersistentHeader, but immediately grows when the user scrolls in the reverse direction. - Render
Sliver Helpers - Mixin for
RenderSliversubclasses that provides some utility functions. - Render
Sliver Multi BoxAdaptor - A sliver with multiple box children.
- Render
Sliver Persistent Header - A sliver that has a box child which scrolls normally, except that when it hits the leading
edge (typically the top) of the viewport, it shrinks to a minimum size
(
min_extent). - Render
Sliver Pinned Persistent Header - A sliver with a box child which never scrolls off the viewport in the positive scroll direction, and which first scrolls on at a full size but then shrinks as the viewport continues to scroll.
- Render
Sliver Scrolling Persistent Header - A sliver with a box child which scrolls normally, except that when it hits the leading edge (typically the top) of the viewport, it shrinks to a minimum size before continuing to scroll.
- Render
Sliver Single BoxAdapter - A
RenderSliverthat contains a singlecrate::RenderBox. - Render
Sliver With Keep Alive Mixin - This trait exists to dissociate
KeepAlivefromRenderSliverMultiBoxAdaptor. - Render
Stack Base - Implements the stack layout algorithm.
- Render
Viewport Base - A base class for render objects that are bigger on the inside.
- Renderer
Binding Overrides - What the binding above this one adds around
drawFrame; kept erased. - Renderer
Binding Overrides Object - The object side of Flutter’s
WidgetsBindingoverrides ofRendererBinding.drawFrame: the widget layer builds before the renderer’s frame and finalizes its tree after it. Implement it on the binding above and registerRc::new(handle)withRendererBinding::set_overrides;Handle<T>is thenRendererBindingOverrides. - Single
Child Layout Delegate - A delegate for computing the layout of a render object with a single child.
- Sliver
Grid Delegate - Controls the layout of tiles in a grid.
- Sliver
Grid Layout - The size and position of all the tiles in a
RenderSliverGrid. - Table
Column Width - Base class to describe how wide a column in a
RenderTableshould be. - Viewport
Offset - Which part of the content inside the viewport should be visible.
Functions§
- apply_
growth_ direction_ to_ axis_ direction - Flips the
AxisDirectionif theGrowthDirectionisGrowthDirection::Reverse. - apply_
growth_ direction_ to_ scroll_ direction - Flips the
ScrollDirectionif theGrowthDirectionisGrowthDirection::Reverse. - debug_
assert_ all_ render_ vars_ unset - Returns true if none of the rendering library debug variables have been changed.
- debug_
check_ has_ bounded_ axis - Returns true if the given
Axisis bounded within the givenBoxConstraintsin both the main and cross axis. - debug_
check_ intrinsic_ sizes - Check the intrinsic sizes of each RenderBox during layout.
- debug_
checking_ intrinsics - Whether the framework is currently checking a render object’s intrinsic sizes, dry layout, or dry baseline against its real layout.
- debug_
disable_ clip_ layers - Setting to true will cause all clipping effects from the layer tree to be ignored.
- debug_
disable_ opacity_ layers - Setting to true will cause all opacity effects from the layer tree to be ignored.
- debug_
disable_ physical_ shape_ layers - Setting to true will cause all physical modeling effects from the layer tree to be ignored.
- debug_
enhance_ layout_ timeline_ arguments - Adds debugging information to Timeline events related to RenderObject layouts.
- debug_
enhance_ paint_ timeline_ arguments - Adds debugging information to Timeline events related to RenderObject paints.
- debug_
paint_ baselines_ enabled - Causes each RenderBox to paint a line at each of its baselines.
- debug_
paint_ layer_ borders_ enabled - Causes each Layer to paint a box around its bounds.
- debug_
paint_ padding - Paint a diagram showing the given area as padding.
- debug_
paint_ pointers_ enabled - Causes objects like RenderPointerListener to flash while they are being tapped.
- debug_
paint_ size_ enabled - Causes each RenderBox to paint a box around its bounds.
- debug_
paint_ text_ layout_ boxes - Causes each RenderParagraph to paint the layout boxes of its text.
- debug_
print_ layouts - Log the dirty render objects that are laid out each frame.
- debug_
print_ mark_ needs_ layout_ stacks - Log the call stacks that mark render objects as needing layout.
- debug_
print_ mark_ needs_ paint_ stacks - Log the call stacks that mark render objects as needing paint.
- debug_
profile_ layouts_ enabled - Adds Timeline events for every RenderObject layout.
- debug_
profile_ paints_ enabled - Adds Timeline events for every RenderObject painted.
- debug_
repaint_ rainbow_ enabled - Overlay a rotating set of colors when repainting layers in debug mode.
- debug_
repaint_ text_ rainbow_ enabled - Overlay a rotating set of colors when repainting text in debug mode.
- flip_
scroll_ direction - Returns the opposite of the given
ScrollDirection. - get_
intrinsic_ dimension - Helper function for calculating the intrinsic metrics of a stack.
- layout_
positioned_ child - Lays out the positioned
childaccording toalignmentwithin a stack ofsize. - set_
debug_ check_ intrinsic_ sizes - Sets
debug_check_intrinsic_sizes. - set_
debug_ checking_ intrinsics - Sets
debug_checking_intrinsics. - set_
debug_ disable_ clip_ layers - Sets
debug_disable_clip_layers. - set_
debug_ disable_ opacity_ layers - Sets
debug_disable_opacity_layers. - set_
debug_ disable_ physical_ shape_ layers - Sets
debug_disable_physical_shape_layers. - set_
debug_ enhance_ layout_ timeline_ arguments - Sets
debug_enhance_layout_timeline_arguments. - set_
debug_ enhance_ paint_ timeline_ arguments - Sets
debug_enhance_paint_timeline_arguments. - set_
debug_ paint_ baselines_ enabled - Sets
debug_paint_baselines_enabled. - set_
debug_ paint_ layer_ borders_ enabled - Sets
debug_paint_layer_borders_enabled. - set_
debug_ paint_ pointers_ enabled - Sets
debug_paint_pointers_enabled. - set_
debug_ paint_ size_ enabled - Sets
debug_paint_size_enabled. - set_
debug_ paint_ text_ layout_ boxes - Sets
debug_paint_text_layout_boxes. - set_
debug_ print_ layouts - Sets
debug_print_layouts. - set_
debug_ print_ mark_ needs_ layout_ stacks - Sets
debug_print_mark_needs_layout_stacks. - set_
debug_ print_ mark_ needs_ paint_ stacks - Sets
debug_print_mark_needs_paint_stacks. - set_
debug_ profile_ layouts_ enabled - Sets
debug_profile_layouts_enabled. - set_
debug_ profile_ paints_ enabled - Sets
debug_profile_paints_enabled. - set_
debug_ repaint_ rainbow_ enabled - Sets
debug_repaint_rainbow_enabled. - set_
debug_ repaint_ text_ rainbow_ enabled - Sets
debug_repaint_text_rainbow_enabled. - show_
in_ viewport - Make (a portion of) the given
descendantof the givenviewportfully visible in theviewportby manipulating the providedAnyViewportOffsetoffset.
Type Aliases§
- BoxConstraints
Transform - Signature for a function that transforms a
BoxConstraintsto anotherBoxConstraints. - BoxHit
Test - Method signature for hit testing a
RenderBox. - Child
Baseline Getter - Signature for a function that takes a
AnyRenderBoxand returns the baseline offset this box would have if it were laid out with the givenBoxConstraints. - Child
Layout Id - An object representing the identity of a child of a
RenderCustomMultiChildLayoutBox. - Child
Layouter - Signature for a function that takes a
AnyRenderBoxand returns theSizethat the box would have if it were laid out with the givenBoxConstraints. - Composition
Callback - The callback of
AnyLayer::add_composition_callback. - Flushed
Paint Callback - Signature for a function that is called when the pipeline owner and child owner finished the paint phase.
- Item
Extent Builder - Signature for a callback that reports the main-axis extent of the item at
index. - Mouse
Tracker HitTest - Signature for hit testing at the given offset for the specified view.
- Sliver
Advance - Flutter’s
layoutChildSequence’sadvancecallback:childBeforeorchildAfter. - Sliver
HitTest - Method signature for hit testing a
RenderSliver. - Table
Column Width Ref - A shared, immutable
TableColumnWidth(a Dart object reference). Two references are the same column width only when they point at the same value, as Dart compares these objects.