TF-1844 Highlight autocomplete suggestion item when hovering in advanced search
(cherry picked from commit 80b7da0ea4195b4e777aad333db56779ccb20346)
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
|
||||
import 'package:core/presentation/extensions/color_extension.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class AutocompleteSuggestionItemStyle {
|
||||
static const double space = 10;
|
||||
|
||||
static const EdgeInsetsGeometry padding = EdgeInsets.symmetric(vertical: 10, horizontal: 12);
|
||||
|
||||
static const TextStyle displayNameTextStyle = TextStyle(
|
||||
color: Colors.black,
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.normal
|
||||
);
|
||||
static const TextStyle emailAddressNameTextStyle = TextStyle(
|
||||
color: AppColor.colorHintSearchBar,
|
||||
fontSize: 13,
|
||||
fontWeight: FontWeight.normal
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
import 'package:core/presentation/extensions/color_extension.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class AutocompleteTagItemStyle {
|
||||
static const double radius = 10;
|
||||
static const double space = 4;
|
||||
static const double deleteIconSize = 24;
|
||||
|
||||
static Color get backgroundColor => AppColor.colorBackgroundTagFilter.withOpacity(0.08);
|
||||
|
||||
static const EdgeInsetsGeometry margin = EdgeInsetsDirectional.only(end: 8);
|
||||
static const EdgeInsetsGeometry padding = EdgeInsetsDirectional.only(start: 8, end: 4, top: 4, bottom: 4);
|
||||
|
||||
static const TextStyle labelTextStyle = TextStyle(
|
||||
color: Colors.black,
|
||||
fontSize: 17,
|
||||
fontWeight: FontWeight.normal
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
|
||||
import 'package:core/presentation/extensions/color_extension.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class AvatarSuggestionItemStyle {
|
||||
static const double iconSize = 40;
|
||||
static const double iconBorderSize = 1.0;
|
||||
|
||||
static const Color iconColor = AppColor.avatarColor;
|
||||
static const Color iconBorderColor = AppColor.colorShadowBgContentEmail;
|
||||
|
||||
static const TextStyle labelTextStyle = TextStyle(
|
||||
color: Colors.black,
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w600
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import 'package:core/presentation/extensions/color_extension.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class AvatarTagItemStyle {
|
||||
static const double iconSize = 24;
|
||||
static const double iconBorderSize = 0.21;
|
||||
|
||||
static const Color iconBorderColor = AppColor.colorShadowBgContentEmail;
|
||||
|
||||
static const TextStyle labelTextStyle = TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 8.57,
|
||||
fontWeight: FontWeight.w600
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user