update list tile

null_safety
张萌 4 years ago
parent 7203195114
commit afac514016

@ -61,7 +61,9 @@ class _ASListTileState extends State<ASListTile> {
), ),
), ),
Expanded( Expanded(
child: widget.text is String child: widget.text == null
? Text('')
: widget.text is String
? Text( ? Text(
widget.text, widget.text,
maxLines: 2, maxLines: 2,

Loading…
Cancel
Save