Fix recipient input field cursor color

Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit fa54f626730cc49686538514370d5b2dff86f078)
This commit is contained in:
dab246
2023-12-05 17:44:53 +07:00
committed by Dat H. Pham
parent a49926f788
commit 0b9da034b3
2 changed files with 3 additions and 0 deletions
@@ -19,6 +19,7 @@ class RecipientComposerWidgetStyle {
static const Color deleteRecipientFieldIconColor = AppColor.colorCollapseMailbox;
static const Color enableBorderColor = AppColor.primaryColor;
static const Color suggestionsBoxBackgroundColor = Colors.white;
static const Color cursorColor = AppColor.primaryColor;
static const EdgeInsetsGeometry deleteRecipientFieldIconPadding = EdgeInsetsDirectional.all(3);
static const EdgeInsetsGeometry prefixButtonPadding = EdgeInsetsDirectional.symmetric(vertical: 3, horizontal: 5);
@@ -169,6 +169,7 @@ class _RecipientComposerWidgetState extends State<RecipientComposerWidget> {
minTextFieldWidth: RecipientComposerWidgetStyle.minTextFieldWidth,
resetTextOnSubmitted: true,
autoScrollToInput: false,
cursorColor: RecipientComposerWidgetStyle.cursorColor,
suggestionsBoxElevation: RecipientComposerWidgetStyle.suggestionsBoxElevation,
suggestionsBoxBackgroundColor: RecipientComposerWidgetStyle.suggestionsBoxBackgroundColor,
suggestionsBoxRadius: RecipientComposerWidgetStyle.suggestionsBoxRadius,
@@ -243,6 +244,7 @@ class _RecipientComposerWidgetState extends State<RecipientComposerWidget> {
minTextFieldWidth: RecipientComposerWidgetStyle.minTextFieldWidth,
resetTextOnSubmitted: true,
autoScrollToInput: false,
cursorColor: RecipientComposerWidgetStyle.cursorColor,
suggestionsBoxElevation: RecipientComposerWidgetStyle.suggestionsBoxElevation,
suggestionsBoxBackgroundColor: RecipientComposerWidgetStyle.suggestionsBoxBackgroundColor,
suggestionsBoxRadius: RecipientComposerWidgetStyle.suggestionsBoxRadius,