-
-
Save Rahiche/fe05fe6b48d3661dd19204dc41d8f456 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return Dismissible( | |
key: UniqueKey(), | |
background: Container(color: Colors.red), | |
onDismissed: (direction) { | |
DBProvider.db.deleteClient(item.id); | |
}, | |
child: ListTile(...), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment