remove onPressed state on tap cancel for storage card
This commit is contained in:
parent
91c5ef307e
commit
e96f6d7ac6
1 changed files with 3 additions and 6 deletions
|
@ -64,12 +64,9 @@ class _DetailsSectionWidgetState extends State<DetailsSectionWidget> {
|
|||
),
|
||||
);
|
||||
},
|
||||
onTapDown: (details) {
|
||||
_isStorageCardPressed.value = true;
|
||||
},
|
||||
onTapUp: (details) {
|
||||
_isStorageCardPressed.value = false;
|
||||
},
|
||||
onTapDown: (details) => _isStorageCardPressed.value = true,
|
||||
onTapCancel: () => _isStorageCardPressed.value = false,
|
||||
onTapUp: (details) => _isStorageCardPressed.value = false,
|
||||
child: containerForUserDetails(inheritedUserDetails),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue