update list tile

null_safety
张萌 4 years ago
parent c7fd55dd66
commit 097e95a381

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

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

Loading…
Cancel
Save