verticalSeparator method Null safety
- double percent,
- BuildContext context
Creates a vertical separator. It takes the percent
of the screen that
it should occupy.
Returns a SizedBox
.
Implementation
static SizedBox verticalSeparator(double percent, BuildContext context){
return SizedBox(
width: 1,
height: Sizes.getScreenSize(context).height * percent,
);
}