Dominant constructor
Creates a widget that expands a child of a Row, Column, or Flex so that the child fills the available space along the flex widget's main axis.
This is equivalent to BoxyFlexible(flex: 0, dominant: true, child: ...)
.
Implementation
const Dominant({
Key? key,
required Widget child,
}) : super(
key: key,
flex: 0,
dominant: true,
child: child,
);