From 097e95a3814e2e89b3fd4c87cb79fba8933b0be8 Mon Sep 17 00:00:00 2001 From: zhang <494089941@qq.com> Date: Wed, 9 Dec 2020 09:41:45 +0800 Subject: [PATCH] update list tile --- example/lib/example_listtile.dart | 2 +- lib/list_tile/as_list_tile.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/lib/example_listtile.dart b/example/lib/example_listtile.dart index 8ec6128..df7c169 100644 --- a/example/lib/example_listtile.dart +++ b/example/lib/example_listtile.dart @@ -25,7 +25,7 @@ class _ExampleListTileState extends State { ASListTile( title: '转单号(UPS)', text: 'DFADN2329TNAGA', - trail: Icon(Icons.ac_unit_rounded), + trail: Placeholder(), ), ASListTile( title: '订单编号', diff --git a/lib/list_tile/as_list_tile.dart b/lib/list_tile/as_list_tile.dart index a432dc2..d44869f 100644 --- a/lib/list_tile/as_list_tile.dart +++ b/lib/list_tile/as_list_tile.dart @@ -59,7 +59,7 @@ class _ASListTileState extends State { ) : widget.text, ), - widget.trail ?? SizedBox(), + SizedBox(width: 20.w,height: 20.w,child: widget.trail ,) ], ), );