Commit 8e73beb5 by Rizal Hermawan

update

parent 1870f06a
...@@ -150,10 +150,12 @@ class _LLSAlertDialogState extends State<LLSAlertDialog> with SingleTickerProvid ...@@ -150,10 +150,12 @@ class _LLSAlertDialogState extends State<LLSAlertDialog> with SingleTickerProvid
if (_options!.title != null) { if (_options!.title != null) {
listOfChildren.add(Padding( listOfChildren.add(Padding(
padding: EdgeInsets.only(top: 24.0), padding: EdgeInsets.only(top: 24.0),
child: Text( child: Center(
_options!.title!, body: Text(
style: _options!.titleStyle, _options!.title!,
), style: _options!.titleStyle,
)
)
)); ));
} }
...@@ -164,10 +166,12 @@ class _LLSAlertDialogState extends State<LLSAlertDialog> with SingleTickerProvid ...@@ -164,10 +166,12 @@ class _LLSAlertDialogState extends State<LLSAlertDialog> with SingleTickerProvid
} }
listOfChildren.add(Padding( listOfChildren.add(Padding(
padding: EdgeInsets.only(top: paddingTop), padding: EdgeInsets.only(top: paddingTop),
child: Text( child: Center(
_options!.subtitle!, body: Text(
style: _options!.subtitleStyle, _options!.subtitle!,
), style: _options!.subtitleStyle,
)
)
)); ));
} }
......
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