FlexBox class
- Inheritance
-
- Object
- Offset
- FlexComponent
- FlexBox
Constructors
-
FlexBox({Position? position, String? offsetTop, String? offsetBottom, String? offsetStart, String? offsetEnd, required Layout layout, List<
FlexComponent> contents = const [], String? backgroundColor, String? borderColor, BorderWidth? borderWidth, CornerRadius? cornerRadius, String? width, String? maxWidth, String? height, String? maxHeight, num? flex, Spacing? spacing, Margin? margin, String? paddingAll, String? paddingTop, String? paddingBottom, String? paddingStart, String? paddingEnd, Action? action, JustifyContent? justifyContent, AlignItems? alignItems, Background? background}) -
const
Properties
- action → Action?
-
final
- alignItems → AlignItems?
-
final
- background → Background?
-
final
- backgroundColor → String?
-
final
- borderColor → String?
-
final
- borderWidth → BorderWidth?
-
final
-
contents
→ List<
FlexComponent> -
final
- cornerRadius → CornerRadius?
-
final
- flex → num?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → String?
-
final
- justifyContent → JustifyContent?
-
final
- layout → Layout
-
final
- margin → Margin?
-
final
- maxHeight → String?
-
final
- maxWidth → String?
-
final
- offsetBottom → String?
-
finalinherited
- offsetEnd → String?
-
finalinherited
- offsetStart → String?
-
finalinherited
- offsetTop → String?
-
finalinherited
- paddingAll → String?
-
final
- paddingBottom → String?
-
final
- paddingEnd → String?
-
final
- paddingStart → String?
-
final
- paddingTop → String?
-
final
- position → Position?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spacing → Spacing?
-
final
- type → FlexComponentType
-
finalinherited
- width → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited