Closed theAkshay60 closed 4 months ago
@theAkshay60 If you wan to apply padding to the content you just add padding to the widget. like this example below
content: Padding(
padding: const EdgeInsets.all(20.0),
child: const Text(
"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. ",
softWrap: true,
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.white,
),
),
),
No, I know how to add the padding but there is a default content padding which I can't remove. The issue is not yet fixed
thanks @theAkshay60 This is not best.. You have to add the padding from your code. The default padding is measured by your closeButtonSize and type. Closing this.
Can't override the default content padding