SliverCrossAxisExpanded constructor
Creates an object that assigns a flex
value to the child sliver.
The provided flex
value must be greater than 0.
Implementation
const SliverCrossAxisExpanded({
super.key,
required this.flex,
required Widget sliver,
}): assert(flex > 0 && flex < double.infinity),
super(child: sliver);