BloomComputedStyle class

Resolved computed CSS layout, sizing, typography, and visual styling rules.

Generated by BloomStyleResolver from utility class tokens (e.g. Tailwind CSS) and inline CSS style strings.

Example:

final style = BloomComputedStyle()
  ..isFlex = true
  ..flexDirection = Axis.horizontal
  ..backgroundColor = Color(0xFF000000)
  ..textColor = Color(0xFFFFFFFF);

Constructors

BloomComputedStyle()

Properties

backgroundColor ↔ Color?
Background fill color.
getter/setter pair
borderColor ↔ Color?
Border outline color.
getter/setter pair
borderRadius ↔ BorderRadius?
Corner border radius.
getter/setter pair
borderWidth ↔ double?
Border outline thickness in logical pixels.
getter/setter pair
bottom ↔ double?
Bottom offset coordinate in logical pixels.
getter/setter pair
crossAxisAlignment ↔ CrossAxisAlignment
Alignment of children across the cross axis.
getter/setter pair
flexDirection ↔ Axis
Direction of the flex main axis (Axis.horizontal or Axis.vertical).
getter/setter pair
flexExpand ↔ bool
Whether this flex item expands to fill available remaining space (flex-1).
getter/setter pair
flexGrow ↔ int?
Flex grow factor.
getter/setter pair
flexShrink ↔ int?
Flex shrink factor.
getter/setter pair
flexWrap ↔ BloomFlexWrap
Flex wrapping mode.
getter/setter pair
fontFamily ↔ String?
Font family name.
getter/setter pair
fontSize ↔ double
Font size in logical pixels (defaults to 13.0).
getter/setter pair
fontWeight ↔ FontWeight
Font weight (defaults to FontWeight.normal).
getter/setter pair
gap ↔ double
Spacing between consecutive flex items along the main axis.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
height ↔ double?
Explicit fixed height in logical pixels.
getter/setter pair
isAbsolute ↔ bool
Whether the element has absolute positioning (position: absolute).
getter/setter pair
isFixed ↔ bool
Whether the element has fixed positioning (position: fixed).
getter/setter pair
isFlex ↔ bool
Whether this container uses CSS flexbox layout.
getter/setter pair
left ↔ double?
Left offset coordinate in logical pixels.
getter/setter pair
mainAxisAlignment ↔ MainAxisAlignment
Alignment and distribution of children along the main axis.
getter/setter pair
margin ↔ EdgeInsets
External margin around the element (defaults to EdgeInsets.zero).
getter/setter pair
padding ↔ EdgeInsets
Internal content padding (defaults to EdgeInsets.zero).
getter/setter pair
percentHeight ↔ double?
Relative percentage height (e.g. 1.0 for 100%).
getter/setter pair
percentWidth ↔ double?
Relative percentage width (e.g. 1.0 for 100%, 0.5 for 50%).
getter/setter pair
Right offset coordinate in logical pixels.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textColor ↔ Color?
Text color.
getter/setter pair
textDecoration ↔ TextDecoration?
Text decoration (e.g. TextDecoration.lineThrough).
getter/setter pair
top ↔ double?
Top offset coordinate in logical pixels.
getter/setter pair
width ↔ double?
Explicit fixed width in logical pixels.
getter/setter pair
zIndex ↔ int
Z-index stacking order.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited