spaceExpand property
Widget
get
spaceExpand
This extension provides a way to handle nullable integers and use them to create a space widget. It validates the nullable integer, converting it to a non-nullable double, and uses it to create a space widget that expands in the cross axis direction.
Implementation
Widget get spaceExpand => Space.expand(validate().toDouble());