TF-1983 Add CreateFilters button in empty thread view widget

(cherry picked from commit 5eed73198c868448cfbc3c93600176aa15bf62f4)
This commit is contained in:
dab246
2023-08-09 19:03:01 +07:00
committed by Dat Vu
parent d7656a087c
commit 9b54b5d448
13 changed files with 294 additions and 116 deletions
@@ -0,0 +1,30 @@
import 'package:core/presentation/extensions/color_extension.dart';
import 'package:flutter/material.dart';
class EmptyEmailsWidgetStyles {
static const double mobileIconSize = 160;
static const double tabletIconSize = 180;
static const double desktopIconSize = 212;
static const double labelTextSize = 20;
static const double messageTextSize = 15;
static const double createFilterLabelTextSize = 22;
static const double createFilterButtonTextSize = 17;
static const double maxWidth = 490;
static const double createFilterButtonBorderRadius = 10;
static const FontWeight labelFontWeight = FontWeight.w400;
static const FontWeight messageFontWeight = FontWeight.w400;
static const FontWeight createFilterLabelFontWeight = FontWeight.w600;
static const FontWeight createFilterButtonFontWeight = FontWeight.w500;
static const Color labelTextColor = Colors.black;
static const Color messageTextColor = AppColor.colorSubtitle;
static const Color createFilterButtonTextColor = AppColor.primaryColor;
static const Color createFilterButtonBackgroundColor = AppColor.colorCreateFiltersButton;
static const EdgeInsetsGeometry padding = EdgeInsetsDirectional.all(16);
static const EdgeInsetsGeometry labelPadding = EdgeInsetsDirectional.symmetric(vertical: 12);
static const EdgeInsetsGeometry createFilterButtonPadding = EdgeInsetsDirectional.symmetric(vertical: 12, horizontal: 24);
static const EdgeInsetsGeometry createFilterButtonMargin = EdgeInsetsDirectional.only(top: 28);
}