TF-1427 Create new mailbox search view on web
This commit is contained in:
@@ -172,6 +172,8 @@ extension AppColor on Color {
|
||||
static const colorCreateNewIdentityButton = Color(0xFFEBEDF0);
|
||||
static const colorSpamReportBox = Color(0xFFBFDEFF);
|
||||
static const colorSubtitle = Color(0xFF6D7885);
|
||||
static const colorBackgroundSearchMailboxInput = Color(0xFFEBEDF0);
|
||||
static const colorMailboxPath = Color(0xFF818C99);
|
||||
|
||||
static const mapGradientColor = [
|
||||
[Color(0xFF21D4FD), Color(0xFFB721FF)],
|
||||
|
||||
@@ -167,6 +167,8 @@ class ImagePaths {
|
||||
String get icInfoCircleOutline => _getImagePath('ic_info_circle_outline.svg');
|
||||
String get icSpamReportDisable => _getImagePath('ic_spam_report_disable.svg');
|
||||
String get icSpamReportEnable => _getImagePath('ic_spam_report_enable.svg');
|
||||
String get icClearSearchInput => _getImagePath('ic_clear_search_input.svg');
|
||||
String get icHideFolder => _getImagePath('ic_hide_folder.svg');
|
||||
|
||||
String _getImagePath(String imageName) {
|
||||
return AssetsPaths.images + imageName;
|
||||
|
||||
@@ -49,15 +49,14 @@ class SearchBarView extends StatelessWidget {
|
||||
children: [
|
||||
const SizedBox(width: 8),
|
||||
buildIconWeb(
|
||||
splashRadius: 15,
|
||||
minSize: 40,
|
||||
iconPadding: EdgeInsets.zero,
|
||||
icon: SvgPicture.asset(
|
||||
_imagePaths.icSearchBar,
|
||||
width: 16,
|
||||
height: 16,
|
||||
fit: BoxFit.fill),
|
||||
onTap: onOpenSearchViewAction),
|
||||
minSize: 40,
|
||||
iconPadding: EdgeInsets.zero,
|
||||
icon: SvgPicture.asset(
|
||||
_imagePaths.icSearchBar,
|
||||
fit: BoxFit.fill
|
||||
),
|
||||
onTap: onOpenSearchViewAction
|
||||
),
|
||||
Expanded(
|
||||
child: Text(
|
||||
hintTextSearch ?? '',
|
||||
|
||||
Reference in New Issue
Block a user