getVerticalSpacing method
Implementation
SizedBox getVerticalSpacing(BuildContext context) {
final size = MediaQuery.sizeOf(context);
if (size.width >= FastMediaBreakpoints.tablet) {
return kFastVerticalSizedBox24;
} else if (size.width >= FastMediaBreakpoints.desktop) {
return kFastVerticalSizedBox32;
} else if (size.width >= FastMediaBreakpoints.large) {
return kFastVerticalSizedBox40;
} else if (size.width >= FastMediaBreakpoints.xl) {
return kFastVerticalSizedBox48;
}
return kFastVerticalSizedBox16;
}