Expanded class
Flexible expansion for a flex parent.
Expanded(child: StyledText('Fill'));
Constructors
Properties
-
aria
→ Map<
String, Object?> ? -
Accessible attributes keyed without the
aria-prefix.finalinherited -
attrs
→ Map<
String, String> ? -
Arbitrary HTML attributes (id, href, placeholder, etc.).
finalinherited
-
children
→ List<
BloomNode> -
Child descriptors nested within this element.
finalinherited
-
classIf
→ Map<
String, bool Function()> ? -
Conditional class inclusion mapping class names to boolean predicates.
finalinherited
- className → String?
-
CSS class attribute applied to the element.
finalinherited
-
data
→ Map<
String, String> ? -
Data attributes keyed without the
data-prefix.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
-
Whether the element is hidden.
trueemits the boolean attribute.finalinherited - id → String?
-
Element ID rendered as the
idattribute.finalinherited -
on
→ Map<
String, BloomEventHandler> ? -
Event handlers keyed by DOM event name (click, input, change...).
finalinherited
-
reactiveAttrs
→ Map<
String, Object? Function()> ? -
Reactive attribute getters evaluated dynamically in place.
finalinherited
- reactiveClass → String Function()?
-
Extra CSS classes, appended after className.
finalinherited
- reactiveStyle → String Function()?
-
Extra inline CSS style string, appended after style with "; ".
finalinherited
- role → String?
-
Accessibility role rendered as the
roleattribute.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → String?
-
Inline style — raw CSS string (e.g. "color: red; display: flex;").
finalinherited
- tabIndex → int?
-
Keyboard tab order rendered as the
tabindexattribute.finalinherited - tag → String
-
Lowercase tag name, e.g. "div", "button", "custom-tag".
finalinherited
- text → String?
-
Optional single text child sugar — equivalent to
children: [Text(text)]when no explicit children are given.finalinherited - title → String?
-
Advisory text rendered as the
titleattribute.finalinherited
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