Dominant.expanded constructor
Same as the default constructor, but expands the child on the main axis similar to Expanded.
This is equivalent to
BoxyFlexible(flex: 1, dominant: true, fit: FlexFit.tight, child: ...)
.
Implementation
const Dominant.expanded({
super.key,
super.flex,
required super.child,
}) : super(
fit: FlexFit.tight,
dominant: true,
);