Dominant.flexible constructor
Same as the default constructor, but expands the child on the main axis similar to Flexible.
This is equivalent to BoxyFlexible(flex: 0, dominant: true, child: ...)
.
Implementation
const Dominant.flexible({
super.key,
super.flex,
required super.child,
}) : super(
dominant: true,
);