diff --git a/examples/flutter_gallery/lib/demo/material/leave_behind_demo.dart b/examples/flutter_gallery/lib/demo/material/leave_behind_demo.dart index 4ab956253e..87e8d3eca5 100644 --- a/examples/flutter_gallery/lib/demo/material/leave_behind_demo.dart +++ b/examples/flutter_gallery/lib/demo/material/leave_behind_demo.dart @@ -245,14 +245,18 @@ class _LeaveBehindListItem extends StatelessWidget { }, background: Container( color: theme.primaryColor, - child: const ListTile( - leading: Icon(Icons.delete, color: Colors.white, size: 36.0), + child: const Center( + child: ListTile( + leading: Icon(Icons.delete, color: Colors.white, size: 36.0), + ), ), ), secondaryBackground: Container( color: theme.primaryColor, - child: const ListTile( - trailing: Icon(Icons.archive, color: Colors.white, size: 36.0), + child: const Center( + child: ListTile( + trailing: Icon(Icons.archive, color: Colors.white, size: 36.0), + ), ), ), child: Container(