flexiblebox_flutter library
Classes
- AbsoluteItem
- An interface for widgets that support absolute positioning within a layout container.
- 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.
- BuilderAbsoluteItem
- A builder variant of AbsoluteItem that allows dynamic child construction.
- BuilderFlexItem
- A builder variant of FlexItem that allows dynamic child construction.
- ColumnBox
- A convenience widget for creating vertical flex layouts.
- DirectAbsoluteItem
- A widget that positions its child absolutely within a layout container.
- DirectFlexItem
- DirectionalBoxAlignment
- DirectionalEdgeSpacing
- Defines directional spacing values for the edges of a rectangle.
- EdgeSpacing
- Defines spacing values for all four edges of a rectangle.
- EdgeSpacingGeometry
- FlexBox
- A flexible box layout widget that implements the CSS Flexbox specification.
- FlexItem
- A widget that configures flex properties for an individual child within a FlexBox.
- LayoutBoxParentData
- Parent data for children of RenderLayoutBox.
- LayoutBoxViewport
- A viewport widget that manages the rendering of layout children with scrolling support.
- LayoutBoxWidget
- A flexible layout container that supports scrolling and custom layout algorithms.
- LayoutItem
- An interface for widgets that participate in custom layout algorithms.
- LayoutOverflow
- OverflowBounds
- Represents the bounds of content that overflows beyond the viewport edges.
- PositionUnit
- RenderBoxChildLayout
- Adapter that makes a RenderBox compatible with the flexbox layout system.
- RenderLayoutBox
- Render object for flexbox layout containers.
- RenderRotatedWidget
- Render object that handles the rotation transformation and layout of RotatedWidget.
- RotatedWidget
- A widget that rotates its child by a specified angle while filling the available space.
- RowBox
- A convenience widget for creating horizontal flex layouts.
- 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.
Extensions
- CrossAxisAlignmentExtension on CrossAxisAlignment
- Extension methods for converting Flutter's CrossAxisAlignment to flexbox BoxAlignmentGeometry.
- EdgeInsetsDirectionalExtension on EdgeInsetsDirectional
- Extension methods for converting Flutter's EdgeInsetsDirectional to flexbox DirectionalEdgeSpacing.
- EdgeInsetsExtension on EdgeInsets
- Extension methods for converting Flutter's EdgeInsets to flexbox EdgeSpacing.
- EdgeInsetsGeometryExtension on EdgeInsetsGeometry
- Extension methods for converting Flutter's EdgeInsetsGeometry to flexbox EdgeSpacingGeometry.
- MainAxisAlignmentExtension on MainAxisAlignment
- Extension methods for converting Flutter's MainAxisAlignment to flexbox BoxAlignmentContent.
- PositionUnitExtension on PositionUnit
- SizeUnitExtension on SizeUnit
- SpacingUnitExtension on SpacingUnit
Functions
-
axisFromLayoutAxis(
LayoutAxis axis) → Axis -
boxConstraintsFromLayoutConstraints(
LayoutConstraints constraints) → BoxConstraints -
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
-
layoutAxisFromAxis(
Axis axis) → LayoutAxis -
layoutConstraintsFromBoxConstraints(
BoxConstraints constraints) → LayoutConstraints -
layoutOffsetFromOffset(
Offset offset) → LayoutOffset -
layoutRectFromRect(
Rect rect) → LayoutRect -
layoutSizeFromSize(
Size size) → LayoutSize -
layoutTextBaselineFromTextBaseline(
TextBaseline baseline) → LayoutTextBaseline -
layoutTextDirectionFromTextDirection(
TextDirection direction) → LayoutTextDirection -
offsetFromLayoutOffset(
LayoutOffset offset) → Offset -
rectFromLayoutRect(
LayoutRect rect) → Rect -
sizeFromLayoutSize(
LayoutSize size) → Size -
textBaselineFromLayoutTextBaseline(
LayoutTextBaseline baseline) → TextBaseline -
textDirectionFromLayoutTextDirection(
LayoutTextDirection direction) → TextDirection
Typedefs
- CalculationOperation = double Function(double a, double b)