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