update list tile

null_safety
张萌 5 years ago
parent c7fd55dd66
commit 097e95a381

@ -25,7 +25,7 @@ class _ExampleListTileState extends State<ExampleListTile> {
ASListTile( ASListTile(
title: '转单号(UPS)', title: '转单号(UPS)',
text: 'DFADN2329TNAGA', text: 'DFADN2329TNAGA',
trail: Icon(Icons.ac_unit_rounded), trail: Placeholder(),
), ),
ASListTile( ASListTile(
title: '订单编号', title: '订单编号',

@ -59,7 +59,7 @@ class _ASListTileState extends State<ASListTile> {
) )
: widget.text, : widget.text,
), ),
widget.trail ?? SizedBox(), SizedBox(width: 20.w,height: 20.w,child: widget.trail ,)
], ],
), ),
); );

Loading…
Cancel
Save