Skip to main content

Crate inset_rendering

Crate inset_rendering 

Source
Expand description

Flutter counterpart: package:flutter/rendering.dart.

arbitrary_self_types lets authored methods take self: RenderHandle<Self>.

Macros§

container_layer_accessors
Implements the ContainerLayer field accessors for a container_layer field.
layer_accessors
Implements the Layer field accessors for a layer field.
offset_layer_accessors
Implements the OffsetLayerMixin field accessors for an offset_layer field.
render_box_accessors
Implements RenderBox field accessors for a render_box field.
render_object_accessors
Implements the RenderObject field accessors for a render_object field.
render_sliver_accessors
Implements RenderSliver field accessors for a render_sliver field.
render_sliver_fixed_extent_accessors
Implements RenderSliverFixedExtentBoxAdaptor field accessors for a fixed_extent field.
render_sliver_multi_box_adaptor_accessors
Implements RenderSliverMultiBoxAdaptor field accessors for an adaptor field.
render_sliver_persistent_header_accessors
Implements RenderSliverPersistentHeader field accessors for a header field.
render_viewport_base_accessors
Implements RenderViewportBase field accessors for a viewport field.

Structs§

AlignmentGeometryTween
An interpolation between two AlignmentGeometry.
AlignmentTween
An interpolation between two alignments.
AnnotatedRegionLayer
A composited layer which annotates its children with a value. Pushing this layer to the tree is the common way of adding an annotation.
AnnotationEntry
Information collected for an annotation that is found in the layer tree.
AnnotationResult
Information collected about a list of annotations that are found in the layer tree.
AnnotationSearch
Dart’s AnnotationResult<S> while a search walks the tree: the type it looks for and what it has found, erased so Layer::find_annotations can sit in a vtable. AnyLayer::find and AnyLayer::find_all_annotations turn it back into an AnnotationResult<S>. See PORTING.md.
AnyContainerLayer
Erased ContainerLayer.
AnyLayer
Erased Layer: one identity and a static vtable, the fat pointer rustc cannot build for an arena id. No lease.
AnyOffsetLayer
Erased OffsetLayer: what RenderObject.updateCompositedLayer returns and PaintingContext positions.
AnyRenderAbstractViewport
Erased RenderAbstractViewport: what a field or parameter Dart types as RenderAbstractViewport becomes.
AnyRenderBox
Erased RenderBox.
AnyRenderObject
Erased RenderObject: one identity and a static vtable, the fat pointer rustc cannot build for an arena id. No lease.
AnyRenderSliver
Erased RenderSliver.
AnyRenderSliverFloatingPersistentHeader
Erased RenderSliverFloatingPersistentHeader: what Dart’s findAncestorRenderObjectOfType<RenderSliverFloatingPersistentHeader>() hands back.
AnyViewportOffset
Erased ViewportOffset: what a field or parameter Dart types as ViewportOffset becomes.
BackdropFilterLayer
A composited layer that applies a filter to the existing contents of the scene.
BackdropKey
A key that identifies a group of backdrop filters that share one backdrop.
BaselineOffset
A wrapper that represents the baseline location of a RenderBox.
BoxConstraints
Immutable layout constraints for RenderBox layout.
BoxHitTestEntry
A hit test entry used by RenderBox.
BoxHitTestResult
The result of performing a hit test on RenderBoxes.
BoxParentData
Parent data used by RenderBox and its subclasses.
ChildLayoutHelper
A collection of functions to lay a box child out with the given set of BoxConstraints.
ClipPathLayer
A composite layer that clips its children using a path.
ClipRRectLayer
A composite layer that clips its children using a rounded rectangle.
ClipRectLayer
A composite layer that clips its children using a rectangle.
ContainerLayerData
Flutter’s ContainerLayer fields, held under the field container_layer ([container_layer_accessors!]).
ContainerParentData
Flutter’s ContainerParentDataMixin fields: the links of a doubly-linked child list.
ContainerRenderObjectData
Flutter’s ContainerRenderObjectMixin fields: the head and tail of the child list, and its length.
EmbeddedLayer
A layer that places a composition layer the host composites: Flutter’s PlatformViewLayer.
EmptyParentData
Flutter’s ParentData() — no subclass fields.
FixedColumnWidth
Sizes the column to a specific number of pixels.
FixedViewportOffset
A ViewportOffset whose pixels value does not change unless the viewport issues a correction.
FlexColumnWidth
Sizes the column by taking a part of the remaining space once all the other columns have been laid out.
FlexParentData
Parent data for use with RenderFlex.
FloatingHeaderSnapConfiguration
Specifies how a floating header is to be “snapped” (animated) into or out of view.
FollowerLayer
A composited layer that applies a transformation matrix to its children such that they are positioned to match a LeaderLayer.
FractionColumnWidth
Sizes the column to a fraction of the table’s constraints’ max_width.
FractionalOffsetTween
An interpolation between two fractional offsets.
ImageFilterContext
Contextual information used when resolving an ImageFilterConfig.
IntrinsicColumnWidth
Sizes the column according to the intrinsic dimensions of all the cells in that column.
KeepAliveParentData
Parent data structure used by RenderSliverWithKeepAliveMixin.
LayerData
Flutter’s Layer fields, held by every layer under the field layer ([layer_accessors!]).
LayerHandle
A handle to prevent a Layer’s platform graphics resources from being disposed.
LayerLink
An object that a LeaderLayer can register with.
LayoutSizes
What RenderFlexMixin::compute_sizes worked out about a layout.
LeaderLayer
A composited layer that can be followed by a FollowerLayer.
LineBoundary
A TextBoundary subclass for locating closest line breaks to a given position.
MaxColumnWidth
Sizes the column such that it is the size that is the maximum of two column width specifications.
MinColumnWidth
Sizes the column such that it is the size that is the minimum of two column width specifications.
MouseTracker
Tracks the relationship between mouse devices and annotations, and triggers mouse events and cursor changes accordingly.
MultiChildLayoutChildren
The children a MultiChildLayoutDelegate lays out, keyed by their MultiChildLayoutParentData::id.
MultiChildLayoutParentData
ParentData used by RenderCustomMultiChildLayoutBox.
OffsetLayer
Flutter’s concrete OffsetLayer; the bodies are OffsetLayerMixin.
OffsetLayerData
Flutter’s OffsetLayer fields, held under the field offset_layer ([offset_layer_accessors!]).
OpacityLayer
A composited layer that makes its children partially transparent.
OverScrollHeaderStretchConfiguration
Specifies how a stretched header is to trigger a callback.
PaintingContext
A place to paint.
PersistentHeaderShowOnScreenConfiguration
Specifies how a pinned header or a floating header should react to crate::RenderObject::show_on_screen calls.
PictureLayer
A composited layer containing a Picture.
PipelineOwner
The pipeline owner manages the rendering pipeline.
RelativeRect
An immutable 2D, axis-aligned, floating-point rectangle whose coordinates are given relative to another rectangle’s edges, known as the container.
RelayoutWhenSystemFontsChangeData
Flutter’s RelayoutWhenSystemFontsChangeMixin fields.
RenderAbsorbPointer
A render object that absorbs pointers during hit testing.
RenderAligningShiftedBoxData
The mixin fields of RenderAligningShiftedBox.
RenderAnimatedOpacity
Makes its child partially transparent, driven from an AnyAnimation.
RenderAnimatedOpacityData
The mixin fields of RenderAnimatedOpacityMixin.
RenderAnimatedSize
A render object that animates its size to its child’s size over a given duration and with a given curve.
RenderAnnotatedRegion
Annotates a region of the layer tree with a value.
RenderAspectRatio
Attempts to size the child to a specific aspect ratio.
RenderBackdropFilter
Applies a filter to the existing painted content and then paints child.
RenderBaseline
Shifts the child down such that the child’s baseline (or the bottom of the child, if the child has no baseline) is baseline logical pixels below the top of this box, then sizes this box to contain the child.
RenderBoxData
Flutter’s RenderBox fields.
RenderClipOval
Clips its child using an oval.
RenderClipPath
Clips its child using a path.
RenderClipRRect
Clips its child using a rounded rectangle.
RenderClipRSuperellipse
Clips its child using a rounded superellipse.
RenderClipRect
Clips its child using a rectangle.
RenderColoredBox
Paints its area with a specified Color and then draws its child on top of that color.
RenderCompositionLayerView
Shows a composition layer in the box it is given.
RenderConstrainedBox
Imposes additional constraints on its child.
RenderConstrainedOverflowBox
A render object that imposes different constraints on its child than it gets from its parent, possibly allowing the child to overflow the parent.
RenderConstraintsTransformBox
A RenderBox that applies an arbitrary transform to its constraints, and sizes its child using the resulting BoxConstraints, optionally clipping, or treating the overflow as an error.
RenderCustomClipData
The fields of RenderCustomClip.
RenderCustomMultiChildLayoutBox
Defers the layout of multiple children to a delegate.
RenderCustomPaint
Delegates its painting to a painter and a foreground_painter.
RenderCustomSingleChildLayoutBox
Defers the layout of its single child to a delegate.
RenderDecoratedBox
Paints a Decoration either before or after its child paints.
RenderEditable
Displays some text in a scrollable container with a potentially blinking cursor and with gesture recognizers.
RenderFittedBox
Scales and positions its child within itself according to fit.
RenderFlex
Displays its children in a one-dimensional array.
RenderFlexData
The fields of a RenderFlex.
RenderFollowerLayer
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.
RenderFractionalTranslation
Applies a translation transformation before painting its child.
RenderFractionallySizedOverflowBox
Sizes its child to a fraction of the total available space.
RenderHandle
Typed access to a concrete render object’s class-specific state.
RenderIgnorePointer
A render object that is invisible during hit testing.
RenderImage
Draws an image into the box it is given. Flutter RenderImage.
RenderIndexedStack
Implements the same layout algorithm as RenderStack but only paints the child specified by index.
RenderIntrinsicHeight
Sizes its child to the child’s intrinsic height.
RenderIntrinsicWidth
Sizes its child to the child’s maximum intrinsic width.
RenderLeaderLayer
Provides an anchor for a RenderFollowerLayer.
RenderLimitedBox
Constrains the child’s BoxConstraints::max_width and BoxConstraints::max_height if they’re otherwise unconstrained.
RenderMetaData
Holds opaque meta data in the render tree.
RenderMouseRegion
Calls callbacks in response to pointer events that are exclusive to mice.
RenderObjectData
Flutter’s RenderObject fields.
RenderObjectWithChildData
Flutter’s RenderObjectWithChildMixin child slot.
RenderObjectWithLayoutCallbackData
The bag of RenderObjectWithLayoutCallbackMixin.
RenderOffstage
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.
RenderOpacity
Makes its child partially transparent.
RenderPadding
Insets its child by the given padding.
RenderParagraph
A render object that displays a paragraph of text.
RenderPointerListener
Calls callbacks in response to common pointer events.
RenderPositionedBox
Positions its child using an AlignmentGeometry.
RenderRepaintBoundary
Creates a separate display list for its child.
RenderShrinkWrappingViewport
A render object that is bigger on the inside and shrink wraps its children in the main axis.
RenderSizedOverflowBox
A render object that is a specific size but passes its original constraints through to its child, which it allows to overflow.
RenderSliverData
Flutter’s RenderSliver fields.
RenderSliverFixedExtentBoxAdaptorData
Flutter’s RenderSliverFixedExtentBoxAdaptor field.
RenderSliverFixedExtentList
A sliver that places multiple box children with the same main axis extent in a linear array.
RenderSliverFloatingPersistentHeaderData
Flutter’s RenderSliverFloatingPersistentHeader fields.
RenderSliverGrid
A sliver that places multiple box children in a two dimensional arrangement.
RenderSliverList
A sliver that places multiple box children in a linear array along the main axis.
RenderSliverMultiBoxAdaptorData
Flutter’s RenderSliverMultiBoxAdaptor fields.
RenderSliverPadding
Insets a RenderSliver, applying padding on each side.
RenderSliverPersistentHeaderData
Flutter’s RenderSliverPersistentHeader fields.
RenderSliverPinnedPersistentHeaderData
Flutter’s RenderSliverPinnedPersistentHeader field.
RenderSliverScrollingPersistentHeaderData
Flutter’s RenderSliverScrollingPersistentHeader field.
RenderSliverToBoxAdapter
A RenderSliver that contains a single crate::RenderBox.
RenderSliverVariedExtentList
A sliver that places multiple box children with the corresponding main axis extent in a linear array.
RenderStack
The plain RenderStackBase: paints every child in order.
RenderStackData
Flutter’s RenderStack fields.
RenderTable
A table where the columns and rows are sized to fit the contents of the cells.
RenderTransform
Applies a transformation before painting its child.
RenderVideoFrameView
Draws a video’s frames in the box it is given.
RenderView
The root of the render tree.
RenderViewport
A render object that is bigger on the inside.
RenderViewportBaseData
Flutter’s RenderViewportBase fields.
RenderWrap
Displays its children in multiple horizontal or vertical runs.
RendererBinding
RevealedOffset
Return value for RenderAbstractViewport::get_offset_to_reveal.
ShapeBorderClipper
A CustomClipper that clips to the outer path of a ShapeBorder.
SliverConstraints
Immutable layout constraints for RenderSliver layout.
SliverGeometry
The amount of space a sliver occupies.
SliverGeometryBuilder
SliverGeometryBuilder collects a SliverGeometry’s values, as Dart’s constructor takes them, and fills in the ones left out when it builds.
SliverGridDelegateWithFixedCrossAxisCount
Creates grid layouts with a fixed number of tiles in the cross axis.
SliverGridDelegateWithMaxCrossAxisExtent
Creates grid layouts with tiles that each have a maximum cross-axis extent.
SliverGridGeometry
Describes the placement of a child in a RenderSliverGrid.
SliverGridParentData
Parent data structure used by RenderSliverGrid.
SliverGridRegularTileLayout
A SliverGridLayout that uses equally sized and spaced tiles.
SliverHitTestEntry
A hit test entry used by RenderSliver.
SliverHitTestResult
The result of performing a hit test on RenderSlivers.
SliverLayoutDimensions
Relates the dimensions of the RenderSliver during layout.
SliverLogicalContainerParentData
Parent data for slivers that have multiple children and that position their children using layout offsets.
SliverLogicalParentData
Parent data structure used by parents of slivers that position their children using layout offsets.
SliverMultiBoxAdaptorParentData
Parent data structure used by RenderSliverMultiBoxAdaptor.
SliverPhysicalContainerParentData
Parent data for slivers that have multiple children and that position their children using absolute coordinates.
SliverPhysicalParentData
Parent data structure used by parents of slivers that position their children using absolute coordinates.
StackParentData
Parent data for use with RenderStack.
TableBorder
Border specification for Table widgets.
TableCellParentData
Parent data used by RenderTable for its children.
TextParentData
Parent data used by RenderParagraph and RenderEditable to annotate inline contents (such as WidgetSpans) with.
TextSelectionPoint
Represents the coordinates of the point in a selection, and the text direction at that point, relative to top left of the RenderEditable that holds the selection.
TickerProviderRef
An erased TickerProvider a render object can hold as a field, compared by identity.
TransformLayer
A composited layer that applies a given transformation matrix to its children.
VerticalCaretMovementRun
Starts at a text position and walks vertically through line metrics.
VideoLayer
A layer that draws a video as part of the picture: Flutter’s TextureLayer and Chromium’s cc::VideoLayer, over the reader itself in place of a texture id or a frame provider.
ViewConfiguration
The layout constraints for the root render object.
ViewportOffsetBase
The shared bodies of ViewportOffset: call one where Dart writes super.….
WordBoundary
A TextBoundary subclass for locating word breaks.
WrapParentData
Parent data for use with RenderWrap.

Enums§

CacheExtentStyle
The unit of measurement for a viewport’s cache extent.
CrossAxisAlignment
How the children should be placed along the cross axis in a flex layout.
DecorationPosition
Where to paint a box decoration.
DryLayoutFailure
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.
GrowthDirection
The direction in which a sliver’s contents are ordered, relative to the scroll offset axis.
HitTestBehavior
How to behave during hit tests.
ImageFilterConfig
A description of an ImageFilter that is resolved against an ImageFilterContext at paint time.
MainAxisAlignment
How the children should be placed along the main axis in a flex layout.
MainAxisSize
How much space should be occupied in the main axis.
OverflowBoxFit
How much space should be occupied by the RenderConstrainedOverflowBox when it is not overflowing.
RenderAnimatedSizeState
A RenderAnimatedSize can be in exactly one of these states.
ScrollCacheExtent
The amount of additional content to display and lay out around the viewport.
ScrollDirection
The direction of a scroll, relative to the positive scroll offset.
SliverPaintOrder
Specifies an order in which to paint the slivers of a viewport.
StackFit
How to size the non-positioned children of a RenderStack.
TableCellVerticalAlignment
Vertical alignment options for cells in RenderTable objects.
WrapAlignment
How RenderWrap should align objects.
WrapCrossAlignment
Who RenderWrap should align children within a run in the cross axis.

Traits§

Constraints
Immutable layout constraints.
ContainerBoxParentData
Parent data for a RenderBox subclass that uses ContainerRenderObjectMixin.
ContainerLayer
A composited layer that has a list of children.
ContainerParentDataMixin
Parent data to support a doubly-linked list of children.
ContainerRenderObjectBase
Flutter’s ContainerRenderObjectMixin bodies that an override calls through super.
ContainerRenderObjectMixin
Generic mixin for render objects with a list of children.
CustomClipper
An interface for providing custom clips.
CustomPainter
The interface used by CustomPaint (in the widgets library) and RenderCustomPaint (in the rendering library).
ErasedLayer
A layer handle of any concreteness — AnyLayer, AnyContainerLayer, AnyOffsetLayer or a typed Handle<L> — for what a LayerHandle can hold. Dart’s T extends Layer.
ErasedRenderObject
An erased render object a parent can hold as a child: Dart’s ChildType extends RenderObject type argument of RenderObjectWithChildMixin and ContainerRenderObjectMixin.
Layer
A composited layer.
LayerBase
The bodies of Flutter’s Layer that a subclass calls as super: LayerBase::dispose(self, app) where Dart writes super.dispose(). The virtual call is on AnyLayer.
MultiChildLayoutDelegate
A delegate that controls the layout of multiple children.
OffsetLayerMixin
A layer that is displayed at an offset from its parent layer.
ParentData
Data associated with a child by its parent.
PipelineManifold
Manages a tree of PipelineOwners.
RelayoutWhenSystemFontsChangeMixin
Mixin for a RenderObject that relayouts when system fonts change.
RenderAbstractViewport
An interface for render objects that are bigger on the inside.
RenderAligningShiftedBox
Abstract class for one-child-layout render boxes that use a AlignmentGeometry to align their children.
RenderAnimatedOpacityMixin
Implementation of RenderAnimatedOpacity and RenderSliverAnimatedOpacity.
RenderBox
A render object in a 2D Cartesian coordinate system.
RenderBoxContainerDefaultsMixin
A mixin that provides useful default behaviors for boxes with children managed by the ContainerRenderObjectMixin mixin.
RenderCustomClip
A base class for render boxes that clip their child.
RenderFlexMixin
Displays its children in a one-dimensional array.
RenderInlineChildrenContainerDefaults
A mixin that provides useful default behaviors for text RenderBoxes (RenderParagraph and RenderEditable for example) with inline content children managed by the ContainerRenderObjectMixin mixin.
RenderObject
Class-specific render object: the data accessors and the virtuals, nothing else. Methods take RenderHandle<Self> so they can re-enter the same slot through App.
RenderObjectBase
Flutter’s RenderObject bodies that an override calls through super.
RenderObjectWithChildMixin
A render object with a single child.
RenderObjectWithLayoutCallbackMixin
A mixin for RenderObjects that run a layout callback (typically one that builds a widget subtree) during perform_layout, as LayoutBuilder’s render object does.
RenderProxyBoxMixin
A base class for render boxes that resemble their children.
RenderProxyBoxWithHitTestBehavior
A RenderProxyBoxMixin that allows customizing its hit-test behavior.
RenderShiftedBox
Abstract class for one-child-layout render boxes that provide control over the child’s position.
RenderSliver
A render object using the sliver protocol.
RenderSliverBoxChildManager
A delegate used by RenderSliverMultiBoxAdaptor to manage its children.
RenderSliverEdgeInsetsPadding
A sliver that insets another sliver by applying resolved padding on each side.
RenderSliverFixedExtentBoxAdaptor
A sliver that contains multiple box children that have the same extent in the main axis.
RenderSliverFloatingPersistentHeader
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.
RenderSliverFloatingPinnedPersistentHeader
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.
RenderSliverHelpers
Mixin for RenderSliver subclasses that provides some utility functions.
RenderSliverMultiBoxAdaptor
A sliver with multiple box children.
RenderSliverPersistentHeader
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).
RenderSliverPinnedPersistentHeader
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.
RenderSliverScrollingPersistentHeader
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.
RenderSliverSingleBoxAdapter
A RenderSliver that contains a single crate::RenderBox.
RenderSliverWithKeepAliveMixin
This trait exists to dissociate KeepAlive from RenderSliverMultiBoxAdaptor.
RenderStackBase
Implements the stack layout algorithm.
RenderViewportBase
A base class for render objects that are bigger on the inside.
RendererBindingOverrides
What the binding above this one adds around drawFrame; kept erased.
RendererBindingOverridesObject
The object side of Flutter’s WidgetsBinding overrides of RendererBinding.drawFrame: the widget layer builds before the renderer’s frame and finalizes its tree after it. Implement it on the binding above and register Rc::new(handle) with RendererBinding::set_overrides; Handle<T> is then RendererBindingOverrides.
SingleChildLayoutDelegate
A delegate for computing the layout of a render object with a single child.
SliverGridDelegate
Controls the layout of tiles in a grid.
SliverGridLayout
The size and position of all the tiles in a RenderSliverGrid.
TableColumnWidth
Base class to describe how wide a column in a RenderTable should be.
ViewportOffset
Which part of the content inside the viewport should be visible.

Functions§

apply_growth_direction_to_axis_direction
Flips the AxisDirection if the GrowthDirection is GrowthDirection::Reverse.
apply_growth_direction_to_scroll_direction
Flips the ScrollDirection if the GrowthDirection is GrowthDirection::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 Axis is bounded within the given BoxConstraints in 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 child according to alignment within a stack of size.
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 descendant of the given viewport fully visible in the viewport by manipulating the provided AnyViewportOffset offset.

Type Aliases§

BoxConstraintsTransform
Signature for a function that transforms a BoxConstraints to another BoxConstraints.
BoxHitTest
Method signature for hit testing a RenderBox.
ChildBaselineGetter
Signature for a function that takes a AnyRenderBox and returns the baseline offset this box would have if it were laid out with the given BoxConstraints.
ChildLayoutId
An object representing the identity of a child of a RenderCustomMultiChildLayoutBox.
ChildLayouter
Signature for a function that takes a AnyRenderBox and returns the Size that the box would have if it were laid out with the given BoxConstraints.
CompositionCallback
The callback of AnyLayer::add_composition_callback.
FlushedPaintCallback
Signature for a function that is called when the pipeline owner and child owner finished the paint phase.
ItemExtentBuilder
Signature for a callback that reports the main-axis extent of the item at index.
MouseTrackerHitTest
Signature for hit testing at the given offset for the specified view.
SliverAdvance
Flutter’s layoutChildSequence’s advance callback: childBefore or childAfter.
SliverHitTest
Method signature for hit testing a RenderSliver.
TableColumnWidthRef
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.