TF-3939 Replace email selection bottom actions to top actions

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-08-05 11:50:14 +07:00
committed by Dat H. Pham
parent 6e86946a1a
commit b7af668d4a
10 changed files with 258 additions and 127 deletions
@@ -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 =