flutter_swipe_action_cell
flutter_swipe_action_cell copied to clipboard
Unable to get the callbacks when a cell Opens
trafficstars
Hi I want to change the background of item when the cell is opened and reset at cell closed the how can I achieve this I tried SwipeActionController too but it is not triggering on any event
This is also what I miss from the package. Great job, but a callback would be really nice.
I find out you can listen to events using:
SwipeActionStore.getInstance().bus.on().listen((event) {
// do something
})
But the events coming in do not provide enough information to know what happened. For example if I open a cell programmatically, first I receive a CellProgramOpenEvent, and right after it a CellFingerOpenEvent. Also, in the object there is no way to know if the cell was opened or closed. Can maybe somebody help?