TF-3479 Remove ComposerUtils & only sync composer state when composers is not empty
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -9,6 +9,14 @@ class ComposerStyle {
|
||||
static const double keyboardToolBarHeight = 200;
|
||||
static const double popupMenuRadius = 8;
|
||||
static const double suggestionItemHeight = 60;
|
||||
static const double normalWidth = 725;
|
||||
static const double normalHeight = 525;
|
||||
static const double minimizeWidth = 400;
|
||||
static const double minimizeHeight = 52;
|
||||
static const double composerExpandMoreButtonMaxWidth = 130;
|
||||
static const double composerExpandMoreButtonMaxHeight = 52;
|
||||
static const double padding = 16;
|
||||
static const double space = 8;
|
||||
|
||||
static const Color borderColor = AppColor.colorLineComposer;
|
||||
static const Color backgroundEditorColor = Colors.white;
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:tmail_ui_user/features/composer/presentation/utils/composer_utils.dart';
|
||||
import 'package:tmail_ui_user/features/composer/presentation/styles/composer_style.dart';
|
||||
|
||||
class MinimizeComposerWidgetStyle {
|
||||
static const double radius = 24;
|
||||
static const double elevation = 16;
|
||||
static const double width = ComposerUtils.minimizeWidth;
|
||||
static const double height = ComposerUtils.minimizeHeight;
|
||||
static const double width = ComposerStyle.minimizeWidth;
|
||||
static const double height = ComposerStyle.minimizeHeight;
|
||||
static const double space = 8;
|
||||
static const double iconSize = 20;
|
||||
|
||||
|
||||
+3
-3
@@ -1,13 +1,13 @@
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:tmail_ui_user/features/composer/presentation/utils/composer_utils.dart';
|
||||
import 'package:tmail_ui_user/features/composer/presentation/styles/composer_style.dart';
|
||||
|
||||
class DesktopResponsiveContainerViewStyle {
|
||||
static const double radius = 28;
|
||||
static const double margin = 20;
|
||||
static const double elevation = 16;
|
||||
static const double normalScreenMaxWidth = ComposerUtils.normalWidth;
|
||||
static const double normalScreenMaxHeight = ComposerUtils.normalHeight;
|
||||
static const double normalScreenMaxWidth = ComposerStyle.normalWidth;
|
||||
static const double normalScreenMaxHeight = ComposerStyle.normalHeight;
|
||||
|
||||
static const Color backgroundColor = Colors.white;
|
||||
static const Color outSideBackgroundColor = Colors.black38;
|
||||
|
||||
Reference in New Issue
Block a user