Add ignore pointer
This commit is contained in:
parent
810f01401f
commit
e69f4de9ff
|
|
@ -154,9 +154,11 @@ class EntitiesListTile extends StatelessWidget {
|
||||||
contentPadding: const EdgeInsets.symmetric(horizontal: 16),
|
contentPadding: const EdgeInsets.symmetric(horizontal: 16),
|
||||||
title: Text(title),
|
title: Text(title),
|
||||||
subtitle: Text(subtitle ?? ''),
|
subtitle: Text(subtitle ?? ''),
|
||||||
leading: IconButton(
|
leading: IgnorePointer(
|
||||||
icon: Icon(getEntityIcon(entityType), size: 18.0),
|
child: IconButton(
|
||||||
onPressed: onTap,
|
icon: Icon(getEntityIcon(entityType), size: 18.0),
|
||||||
|
onPressed: onTap,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
trailing: isFilter
|
trailing: isFilter
|
||||||
? IconButton(
|
? IconButton(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue