Use '***' in markdawn card to add empty space

This commit is contained in:
Yegor Vialov 2020-04-25 21:45:58 +00:00
parent df01599fe0
commit f7d05a57ad

View File

@ -9,6 +9,8 @@ class MarkdownCard extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
if (card.content == null) { if (card.content == null) {
return Container(height: 0.0, width: 0.0,); return Container(height: 0.0, width: 0.0,);
} else if (card.content == '***') {
return Container(height: Sizes.rowPadding, width: 0.0,);
} }
return CardWrapper( return CardWrapper(
child: Padding( child: Padding(