Set default DividerTheme

(cherry picked from commit 9be02961277e990f8ded19106532f9c788eb1d7e)
This commit is contained in:
dab246
2023-12-19 18:55:07 +07:00
committed by Dat H. Pham
parent bd4fb500f6
commit ba83b319b8
23 changed files with 494 additions and 591 deletions
@@ -527,7 +527,7 @@ class SearchEmailView extends GetWidget<SearchEmailController>
if (index < listPresentationEmail.length - 1) {
return Padding(
padding: SearchEmailUtils.getPaddingItemListMobile(context, controller.responsiveUtils),
child: const Divider(color: AppColor.lineItemListColor, height: 1));
child: const Divider());
} else {
return const SizedBox.shrink();
}
@@ -581,9 +581,8 @@ class SearchEmailView extends GetWidget<SearchEmailController>
child: Divider(
color: index < listPresentationEmail.length - 1 &&
controller.selectionMode.value == SelectMode.INACTIVE
? AppColor.lineItemListColor
: Colors.white,
height: 1
? null
: Colors.white
)
);
},