Set default DividerTheme
(cherry picked from commit 9be02961277e990f8ded19106532f9c788eb1d7e)
This commit is contained in:
+2
-6
@@ -45,9 +45,7 @@ class ListEmailRulesWidget extends GetWidget<EmailRulesController> {
|
||||
fontWeight: FontWeight.w500,
|
||||
color: AppColor.colorTextButtonHeaderThread)),
|
||||
),
|
||||
const Divider(
|
||||
color: AppColor.lineItemListColor,
|
||||
height: 1),
|
||||
const Divider(),
|
||||
Obx(() {
|
||||
log('ListEmailRulesWidget::build(): ${controller.listEmailRule}');
|
||||
return ListView.separated(
|
||||
@@ -63,9 +61,7 @@ class ListEmailRulesWidget extends GetWidget<EmailRulesController> {
|
||||
},
|
||||
separatorBuilder: (context, index) {
|
||||
if (controller.listEmailRule.isNotEmpty) {
|
||||
return const Divider(
|
||||
color: AppColor.lineItemListColor,
|
||||
height: 1);
|
||||
return const Divider();
|
||||
} else {
|
||||
return const SizedBox.shrink();
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ class ManageAccountMenuView extends GetWidget<ManageAccountMenuController> {
|
||||
}),
|
||||
const Padding(
|
||||
padding: EdgeInsets.symmetric(vertical: 16),
|
||||
child: Divider(color: AppColor.lineItemListColor, height: 1)),
|
||||
child: Divider()),
|
||||
Padding(
|
||||
padding: const EdgeInsetsDirectional.only(start: 20, end: 10),
|
||||
child: Material(
|
||||
|
||||
Reference in New Issue
Block a user