Commit 0cf8ad5c by Rizal Hermawan

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

parent 0ca8f995
......@@ -148,14 +148,12 @@ class _LLSAlertDialogState extends State<LLSAlertDialog> with SingleTickerProvid
}
if (_options!.title != null) {
listOfChildren.add(Center(
child: Padding(
listOfChildren.add(Padding(
padding: EdgeInsets.only(top: 24.0),
child: Text(
_options!.title!,
style: _options!.titleStyle,
),
),
));
}
......@@ -233,7 +231,8 @@ class _LLSAlertDialogState extends State<LLSAlertDialog> with SingleTickerProvid
child: Padding(
padding: EdgeInsets.fromLTRB(0.0, 20.0, 0.0, 20.0),
child: Column(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
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