spaces library

Classes

SizeSet<T>
A set of size variants, from extraSmall to extraBig
SliverSpace
A sliver that takes a fixed amount of space.
Space
A widget that takes a fixed amount of space in the direction of its parent.
SpacedColumn
A widget that behaves like a Column, but with the possibility to add a spaceBetween children, and a padding around them.
SpacedFlex
A widget that behaves like a Flex, but with the possibility to add a spaceBetween children, and a padding around them.
SpacedRow
A widget that behaves like a Row, but with the possibility to add a spaceBetween children, and a padding around them.
Spacing
Applies a global spacing configuration to descendant widgets.
SpacingData
Defines the configuration of the overall visual Spacing for a widget subtree within the app.
SpacingInsetsData
Defines the edge insets configuration.

Enums

SpaceSize

Functions

spacedWidgets({required List<Widget> children, required double spaceBetween}) List<Widget>
Create a new list of widgets but inserting a Gap width the given spaceBetween space widget between each child of the children list.

Typedefs

DataBuilder<T> = T Function(BuildContext context)