layout_engine library

Classes

InterpolatorCallbacks
Dart interpolators a native artboard runs by handle.
Layout
LayoutGridLine
A grid line placement (grid-row/column-start/end).
LayoutGridTrack
A single entry of a grid track list (grid-template-rows/columns, grid-auto-rows/columns). For LayoutGridTrackType.minmax tracks, minType and value describe the min sizing function and maxType/maxValue the max sizing function.
LayoutNode
LayoutPadding
LayoutStyle
LayoutValue

Enums

LayoutAlign
LayoutAspectRatioAxis
Which axis an aspect ratio is computed FROM. auto is the engine's own rule: a flex parent's main axis wins and the cross axis follows it. width and height lock that axis -- it sizes itself normally and the other axis is always derived from it through the ratio.
LayoutDimension
LayoutDirection
LayoutDisplay
LayoutEdge
LayoutError
LayoutFlexDirection
LayoutGridCollection
LayoutGridLinePosition
LayoutGridLineType
LayoutGridTrackType
LayoutGutter
LayoutJustify
LayoutMeasureMode
LayoutNodeType
LayoutOverflow
LayoutPosition
LayoutUnit
LayoutWrap

Typedefs

BaselineFunction = double Function(LayoutNode node, double width, double height)
MeasureFunction = Size Function(LayoutNode node, double width, LayoutMeasureMode widthMode, double height, LayoutMeasureMode heightMode)