BoxyFlexIntrinsicsBehavior enum

The strategy of determining the cross-axis size of a BoxyFlex when intrinsics are required.

Inheritance

Constructors

BoxyFlexIntrinsicsBehavior()
const

Values

measureMain → const BoxyFlexIntrinsicsBehavior

Measure the intrinsic main axis of inflexible children with an infinite max cross axis size, using it as the max main axis size of the dominant child.

TL;DR: Use this if you have text in a horizontal Flex.

measureCross → const BoxyFlexIntrinsicsBehavior

Measure the intrinsic cross axis of the dominant child with an infinite max main axis size.

TL;DR: Use this if you want speed, since it only measures one child.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<BoxyFlexIntrinsicsBehavior>
A constant List of the values in this enum, in order of their declaration.