TF-3939 Replace email selection bottom actions to top actions
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
+14
-10
@@ -8,25 +8,29 @@ import 'package:tmail_ui_user/features/thread/domain/model/filter_message_option
|
||||
class MobileAppBarThreadWidgetStyle {
|
||||
static const double buttonMaxWidth = 80;
|
||||
static const double titleOffset = 180;
|
||||
static const double minHeight = 56;
|
||||
static const double height = 52;
|
||||
static const double actionIconSize = 20;
|
||||
|
||||
static const Color backgroundColor = Colors.white;
|
||||
static const Color backButtonColor = AppColor.steelGrayA540;
|
||||
static const Color actionIconColor = AppColor.steelGrayA540;
|
||||
static const Color actionIconActiveColor = AppColor.primaryMain;
|
||||
|
||||
static EdgeInsetsGeometry getPadding(BuildContext context, ResponsiveUtils responsiveUtils) {
|
||||
if (responsiveUtils.isPortraitMobile(context) || responsiveUtils.isLandscapeTablet(context)) {
|
||||
return const EdgeInsets.symmetric(horizontal: 16, vertical: 8);
|
||||
static EdgeInsetsGeometry getPadding(
|
||||
BuildContext context,
|
||||
ResponsiveUtils responsiveUtils,
|
||||
) {
|
||||
if (responsiveUtils.isPortraitMobile(context) ||
|
||||
responsiveUtils.isLandscapeTablet(context)) {
|
||||
return const EdgeInsets.symmetric(horizontal: 16);
|
||||
} else {
|
||||
return const EdgeInsets.symmetric(horizontal: 32, vertical: 8);
|
||||
return const EdgeInsets.symmetric(horizontal: 32);
|
||||
}
|
||||
}
|
||||
|
||||
static const EdgeInsetsGeometry mailboxMenuPadding = EdgeInsets.all(5);
|
||||
static const EdgeInsetsGeometry titlePadding = EdgeInsets.symmetric(horizontal: 16);
|
||||
|
||||
static TextStyle emailCounterTitleStyle =
|
||||
ThemeUtils.defaultTextStyleInterFont.copyWith(
|
||||
fontSize: 15,
|
||||
fontWeight: FontWeight.w400,
|
||||
static TextStyle emailCounterTitleStyle = ThemeUtils.textStyleBodyBody2(
|
||||
color: AppColor.steelGrayA540,
|
||||
);
|
||||
static TextStyle titleTextStyle =
|
||||
|
||||
Reference in New Issue
Block a user