fix: Unexpected Ink Splash with Material3 when navigating

This commit is contained in:
guozhigq
2023-08-05 21:32:23 +08:00
parent 4e9f28b60d
commit 6b0adbc3e1
4 changed files with 7 additions and 3 deletions

View File

@ -42,7 +42,6 @@ class LiveCardV extends StatelessWidget {
},
child: InkWell(
onTap: () async {
await Future.delayed(const Duration(milliseconds: 200));
Get.toNamed('/liveRoom?roomid=${liveItem.roomId}',
arguments: {'liveItem': liveItem, 'heroTag': heroTag});
},