mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-05 08:05:07 +00:00
14 lines
425 B
Dart
14 lines
425 B
Dart
|
|
import 'package:core/presentation/utils/responsive_utils.dart';
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
class SendingQueueUtils {
|
|
|
|
static EdgeInsets getMarginBannerMessageByResponsiveSize(double width) {
|
|
if (ResponsiveUtils.isMatchedMobileWidth(width)) {
|
|
return const EdgeInsets.only(top: 16, left: 16, right: 16);
|
|
} else {
|
|
return const EdgeInsets.symmetric(horizontal: 24, vertical: 16);
|
|
}
|
|
}
|
|
} |