Add double_tap_action support

This commit is contained in:
Yegor Vialov
2020-03-14 18:12:11 +00:00
parent 1ba9106d0b
commit 7e09d92fdf
7 changed files with 64 additions and 0 deletions

View File

@ -64,6 +64,7 @@ class _GaugeCardBodyState extends State<GaugeCardBody> {
return InkWell(
onTap: () => entityWrapper.handleTap(),
onLongPress: () => entityWrapper.handleHold(),
onDoubleTap: () => entityWrapper.handleDoubleTap(),
child: AspectRatio(
aspectRatio: 1.5,
child: Stack(