Commit 77f71ef4 authored by Shouichi Kamiya's avatar Shouichi Kamiya Committed by Hans Muller

Center action icons of swipe to dismiss example (#39670)

parent 4c254e5e
......@@ -245,16 +245,20 @@ class _LeaveBehindListItem extends StatelessWidget {
},
background: Container(
color: theme.primaryColor,
child: const ListTile(
child: const Center(
child: ListTile(
leading: Icon(Icons.delete, color: Colors.white, size: 36.0),
),
),
),
secondaryBackground: Container(
color: theme.primaryColor,
child: const ListTile(
child: const Center(
child: ListTile(
trailing: Icon(Icons.archive, color: Colors.white, size: 36.0),
),
),
),
child: Container(
decoration: BoxDecoration(
color: theme.canvasColor,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment