From 59e8f0667f6a49db49ca3026a55f51e6a7eb5d22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vasilj=20Milo=C5=A1evi=C4=87?= Date: Tue, 15 Oct 2019 02:54:55 +0200 Subject: [PATCH 1/2] Add horizontal padding to subtitle --- lib/sweetalert.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sweetalert.dart b/lib/sweetalert.dart index f5c86c1..0293ce4 100644 --- a/lib/sweetalert.dart +++ b/lib/sweetalert.dart @@ -162,7 +162,7 @@ class SweetAlertDialogState extends State if (_options.subtitle != null) { listOfChildren.add(new Padding( - padding: new EdgeInsets.only(top: 10.0), + padding: new EdgeInsets.only(top: 10.0, left: 10.0, right: 10.0), child: new Text( _options.subtitle, style: new TextStyle(fontSize: 16.0, color: new Color(0xff797979)), From c7fe6dd06afad3ec537b6eee3da380d9d3def258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vasilj=20Milo=C5=A1evi=C4=87?= Date: Tue, 15 Oct 2019 02:59:56 +0200 Subject: [PATCH 2/2] More padding --- lib/sweetalert.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sweetalert.dart b/lib/sweetalert.dart index 0293ce4..e1d6a3f 100644 --- a/lib/sweetalert.dart +++ b/lib/sweetalert.dart @@ -162,7 +162,7 @@ class SweetAlertDialogState extends State if (_options.subtitle != null) { listOfChildren.add(new Padding( - padding: new EdgeInsets.only(top: 10.0, left: 10.0, right: 10.0), + padding: new EdgeInsets.only(top: 10.0, left: 20.0, right: 20.0), child: new Text( _options.subtitle, style: new TextStyle(fontSize: 16.0, color: new Color(0xff797979)),