getHorizontalSpacing method
Implementation
SizedBox getHorizontalSpacing(BuildContext context) {
final size = MediaQuery.sizeOf(context);
if (size.width >= FastMediaBreakpoints.tablet) {
return kFastHorizontalSizedBox24;
} else if (size.width >= FastMediaBreakpoints.desktop) {
return kFastHorizontalSizedBox32;
} else if (size.width >= FastMediaBreakpoints.large) {
return kFastHorizontalSizedBox40;
} else if (size.width >= FastMediaBreakpoints.xl) {
return kFastHorizontalSizedBox48;
}
return kFastHorizontalSizedBox16;
}