You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there again 👋
Thanks a lot for your help with #225
I've found another small issue though: when I subscribe to actionPaneType ValueNotifier its value never becomes equal to ActionPaneType.none after closing gesture -- and, therefore, no events are received when I open and close it to the same side multiple times in a row.
It's certainly not a big problem, but I thought I should mention it anyway.
my code:
late final ValueNotifier<ActionPaneType>? _actionPaneTypeValueNotifier;
@override
void initState() {
super.initState();
_actionPaneTypeValueNotifier = Slidable.of(context)?.actionPaneType;
_actionPaneTypeValueNotifier?.addListener(_onActionPaneTypeChanged);
}
@override
void dispose() {
_actionPaneTypeValueNotifier?.removeListener(_onActionPaneTypeChanged);
super.dispose();
}
void _onActionPaneTypeChanged() {
print('Value is ${_actionPaneTypeValueNotifier?.value}') // I receive ActionPaneType.start 1 time and after that nothing (unless I get ActionPaneType.end, after which ActionPaneType.start starts working, but .end stops).
}
The text was updated successfully, but these errors were encountered:
Hey there again 👋
Thanks a lot for your help with #225
I've found another small issue though: when I subscribe to actionPaneType ValueNotifier its value never becomes equal to ActionPaneType.none after closing gesture -- and, therefore, no events are received when I open and close it to the same side multiple times in a row.
It's certainly not a big problem, but I thought I should mention it anyway.
my code:
The text was updated successfully, but these errors were encountered: