TF-2078 Display original email content when can not parse calendar event
(cherry picked from commit 295c3caa684bf5c4279e3219a961b96498c01373)
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
|
||||
import 'package:core/presentation/extensions/color_extension.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class EmailAttachmentsStyles {
|
||||
static const double headerTextSize = 15;
|
||||
static const double headerIconSize = 20;
|
||||
static const double headerSpace = 4;
|
||||
static const double marginHeader = 6;
|
||||
static const double buttonTextSize = 13;
|
||||
static const double buttonBorderRadius = 8;
|
||||
static const double listSpace = 12;
|
||||
static const double listHeight = 60;
|
||||
|
||||
static const Color headerTextColor = AppColor.colorTitleHeaderAttachment;
|
||||
static const Color headerIconColor = AppColor.colorAttachmentIcon;
|
||||
static const Color buttonTextColor = AppColor.primaryColor;
|
||||
|
||||
static const FontWeight headerFontWeight = FontWeight.w400;
|
||||
static const FontWeight buttonFontWeight = FontWeight.w400;
|
||||
|
||||
static const EdgeInsetsGeometry padding = EdgeInsetsDirectional.symmetric(vertical: 12, horizontal: 16);
|
||||
static const EdgeInsetsGeometry buttonPadding = EdgeInsets.symmetric(vertical: 8, horizontal: 12);
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
|
||||
import 'package:core/presentation/extensions/color_extension.dart';
|
||||
import 'package:core/utils/platform_info.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class EmailSubjectStyles {
|
||||
static const double textSize = 20;
|
||||
static const int? maxLines = PlatformInfo.isWeb ? 2 : null;
|
||||
static const int? minLines = PlatformInfo.isWeb ? 1 : null;
|
||||
|
||||
static const Color textColor = AppColor.colorNameEmail;
|
||||
static const Color cursorColor = AppColor.colorTextButton;
|
||||
|
||||
static const FontWeight fontWeight = FontWeight.w500;
|
||||
|
||||
static const EdgeInsetsGeometry padding = EdgeInsets.symmetric(vertical: 12, horizontal: 16);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
|
||||
import 'package:core/presentation/extensions/color_extension.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class EmailViewEmptyStyles {
|
||||
static const double textSize = 25;
|
||||
|
||||
static const Color textColor = AppColor.mailboxTextColor;
|
||||
|
||||
static const FontWeight fontWeight = FontWeight.bold;
|
||||
}
|
||||
Reference in New Issue
Block a user