flexiblebox_dart library

Classes

Box
A layout container in the independent layout system.
BoxAlignment
BoxAlignmentBase
Abstract base class for alignment geometries that don't support baseline or stretch.
BoxAlignmentContent
Abstract base class for alignment geometries that support stretch and fixed alignments but not baseline.
BoxAlignmentGeometry
Abstract base class for all alignment geometries in flexbox layouts.
BoxChildLayout
Adapter that makes a Box compatible with the layout system.
BoxParentData
Parent data for children in the independent layout system.
ChildLayoutCache
Cache for storing computed layout sizes to avoid redundant calculations.
ChildLayoutDryDelegate
A delegate that performs dry layout operations on behalf of a child.
DirectionalBoxAlignment
DirectionalEdgeSpacing
Defines directional spacing values for the edges of a rectangle.
EdgeSpacing
Defines spacing values for all four edges of a rectangle.
EdgeSpacingGeometry
FlexChildLayoutCache
Cache for storing computed layout values for individual flex children.
FlexLayout
A layout algorithm implementing the CSS Flexbox specification.
FlexLayoutCache
Cache for storing computed layout values for an entire flex layout.
FlexLayoutHandle
Handle for performing flex layout operations.
FlexLineLayoutCache
Cache for storing computed layout values for a single flex line.
Layout
Abstract base class for layout algorithms.
LayoutConstraints
Defines the size constraints for layout calculations.
LayoutData
Data structure containing all layout properties for a child element.
LayoutHandle<T extends Layout>
Handle for performing layout operations with a specific algorithm.
LayoutOffset
Represents a two-dimensional offset with x and y coordinates.
LayoutOverflow
LayoutPipelineOwner
Manages the layout pipeline for the independent layout system.
LayoutRange
LayoutRect
Represents a rectangle with position and size.
LayoutSize
Represents a two-dimensional size with width and height.
OverflowBounds
Represents the bounds of content that overflows beyond the viewport edges.
PositionUnit
SizeUnit
Abstract base class for size units used in flexbox layouts.
SpacingUnit

Enums

FlexDirection
Defines the direction in which children are laid out in a flex container.
FlexWrap
Defines how flex items wrap within the flex container when they exceed the container's size.
LayoutAxis
Represents the axis along which layout occurs.
LayoutBehavior
Defines how a child element participates in the layout algorithm.
LayoutTextBaseline
Defines text baseline types for alignment calculations.
LayoutTextDirection
Defines text direction for layout calculations.

Mixins

ChildLayout
Interface for child elements that participate in layout.
ParentLayout
Interface for parent elements that manage child layout.

Extension Types

LayoutBaselineOffset

Functions

calculationAdd(double a, double b) double
Adds two values: a + b
calculationDivide(double a, double b) double
Divides the first value by the second: a / b
calculationMultiply(double a, double b) double
Multiplies two values: a * b
calculationSubtract(double a, double b) double
Subtracts the second value from the first: a - b

Typedefs

CalculationOperation = double Function(double a, double b)