widgets library
Flutter-shaped widgets that render to Bloom's real DOM nodes.
Row(children: [StyledText('Hello')]);
Classes
- Align
- Aligns a child within available space.
- AnimatedContainer
- Reactively transitions container size, color, padding, and decoration.
- AnimatedOpacity
- Reactively transitions an element's opacity.
- Border
- A solid border around a box.
- BorderRadius
- Rounded corner radius in logical pixels.
- BoxDecoration
- CSS decoration values for a Container.
- BoxShadow
- A CSS box shadow.
- Center
- Centers a child on both axes.
- Color
- An ARGB color convertible to CSS.
- Colors
- Common CSS colors.
- Column
- A vertical flex layout.
- Container
- A box with dimensions, spacing, alignment, and decoration.
- Curve
- A CSS transition timing function.
- Curves
- CSS transition timing functions.
- EdgeInsets
- Four-sided padding or margin in logical pixels.
- Expanded
- Flexible expansion for a flex parent.
- Flexible
- Flexible sizing for a flex parent.
- GestureDetector
- A clickable child with keyboard activation and button semantics.
- ListView
- A scrollable list of children.
- Padding
- Adds padding around a child.
- Positioned
- Absolutely positions a child within a Stack.
- Row
- A horizontal flex layout.
- SizedBox
- Sets explicit dimensions around an optional child.
- Spacer
- Flexible empty space in a flex parent.
- Stack
- A relative positioning layout.
- StyledText
- Text rendered as a span, optionally styled and line-clamped.
- TextStyle
- CSS text styles.
- Theme
- A wrapper that exposes theme values as CSS custom properties.
- ThemeColors
- CSS references to the nearest Theme custom properties.
- ThemeData
- Theme values shared by descendants through CSS custom properties.
- Wrap
- A wrapping flex layout with row and run spacing.
Enums
- Alignment
- Nine-point box alignment.
- Axis
- The direction a scrollable list lays out its children.
- CrossAxisAlignment
- Cross-axis placement for Row and Column.
- FontWeight
- Font weight values supported by CSS.
- MainAxisAlignment
- Main-axis placement for Row and Column.
- MainAxisSize
- Whether a flex layout takes minimum or maximum main-axis space.
- TextAlign
- Horizontal text alignment.
- TextDecoration
- Text decoration values.