TF-3005 Apply new design search result list contact view
This commit is contained in:
@@ -75,7 +75,7 @@ class ContactViewStyle {
|
||||
|
||||
static EdgeInsetsGeometry getSearchInputFormMargin(
|
||||
BuildContext context,
|
||||
ResponsiveUtils responsiveUtils
|
||||
ResponsiveUtils responsiveUtils,
|
||||
) {
|
||||
if (PlatformInfo.isWeb || responsiveUtils.isScreenWithShortestSide(context)) {
|
||||
return const EdgeInsets.symmetric(horizontal: 16, vertical: 10);
|
||||
@@ -83,4 +83,15 @@ class ContactViewStyle {
|
||||
return const EdgeInsets.symmetric(horizontal: 32, vertical: 10);
|
||||
}
|
||||
}
|
||||
|
||||
static EdgeInsets getDividerSearchResultListPadding(
|
||||
BuildContext context,
|
||||
ResponsiveUtils responsiveUtils
|
||||
) {
|
||||
if (PlatformInfo.isWeb || responsiveUtils.isScreenWithShortestSide(context)) {
|
||||
return const EdgeInsets.symmetric(horizontal: 16);
|
||||
} else {
|
||||
return const EdgeInsets.symmetric(horizontal: 32);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user