From ccccab8783a8ba7412abaf08c19726873061404d Mon Sep 17 00:00:00 2001 From: zhang <494089941@qq.com> Date: Thu, 25 Feb 2021 15:17:31 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0clipbehavior?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/list_tile/as_option_tile.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/list_tile/as_option_tile.dart b/lib/list_tile/as_option_tile.dart index a192cc6..b1de709 100644 --- a/lib/list_tile/as_option_tile.dart +++ b/lib/list_tile/as_option_tile.dart @@ -34,6 +34,7 @@ class ASOptionTile extends StatelessWidget { this.items.insert( 0, Container( + clipBehavior: Clip.antiAlias, padding: EdgeInsets.fromLTRB(10.w, 10.w, 10.w, 10.w), alignment: Alignment.centerLeft, child: this.leading is String From 90d32f6c5dce06f116672678a6934cb5f90e17ec Mon Sep 17 00:00:00 2001 From: zhang <494089941@qq.com> Date: Thu, 25 Feb 2021 15:49:27 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=BB=98=E8=AE=A4padding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/list_tile/as_option_tile.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/list_tile/as_option_tile.dart b/lib/list_tile/as_option_tile.dart index b1de709..d94297a 100644 --- a/lib/list_tile/as_option_tile.dart +++ b/lib/list_tile/as_option_tile.dart @@ -34,8 +34,6 @@ class ASOptionTile extends StatelessWidget { this.items.insert( 0, Container( - clipBehavior: Clip.antiAlias, - padding: EdgeInsets.fromLTRB(10.w, 10.w, 10.w, 10.w), alignment: Alignment.centerLeft, child: this.leading is String ? Text( @@ -50,6 +48,7 @@ class ASOptionTile extends StatelessWidget { ); } return Material( + clipBehavior: Clip.antiAlias, color: kForegroundColor, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(5.w),