CustomDialog. Set padding bottom to default if no actions set
This commit is contained in:
parent
4cddaa4f0c
commit
b62a05e15f
@ -662,8 +662,8 @@ class CustomAlertDialog extends StatelessWidget {
|
|||||||
scrollable: true,
|
scrollable: true,
|
||||||
title: title,
|
title: title,
|
||||||
titlePadding: EdgeInsets.fromLTRB(padding, 24, padding, 0),
|
titlePadding: EdgeInsets.fromLTRB(padding, 24, padding, 0),
|
||||||
contentPadding: EdgeInsets.fromLTRB(
|
contentPadding: EdgeInsets.fromLTRB(contentPadding ?? padding, 25,
|
||||||
contentPadding ?? padding, 25, contentPadding ?? padding, 10),
|
contentPadding ?? padding, actions is List ? 10 : padding),
|
||||||
content: ConstrainedBox(
|
content: ConstrainedBox(
|
||||||
constraints: contentBoxConstraints,
|
constraints: contentBoxConstraints,
|
||||||
child: Theme(
|
child: Theme(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user