Commit 0cf8ad5c by Rizal Hermawan

feat (lls_alert): modify lls alert. Story #1

parent 0ca8f995
...@@ -148,13 +148,11 @@ class _LLSAlertDialogState extends State<LLSAlertDialog> with SingleTickerProvid ...@@ -148,13 +148,11 @@ class _LLSAlertDialogState extends State<LLSAlertDialog> with SingleTickerProvid
} }
if (_options!.title != null) { if (_options!.title != null) {
listOfChildren.add(Center( listOfChildren.add(Padding(
child: Padding( padding: EdgeInsets.only(top: 24.0),
padding: EdgeInsets.only(top: 24.0), child: Text(
child: Text( _options!.title!,
_options!.title!, style: _options!.titleStyle,
style: _options!.titleStyle,
),
), ),
)); ));
} }
...@@ -233,7 +231,8 @@ class _LLSAlertDialogState extends State<LLSAlertDialog> with SingleTickerProvid ...@@ -233,7 +231,8 @@ class _LLSAlertDialogState extends State<LLSAlertDialog> with SingleTickerProvid
child: Padding( child: Padding(
padding: EdgeInsets.fromLTRB(0.0, 20.0, 0.0, 20.0), padding: EdgeInsets.fromLTRB(0.0, 20.0, 0.0, 20.0),
child: Column( child: Column(
mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: listOfChildren, children: listOfChildren,
), ),
)), )),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment