loic-combis / swipable

Flutter Widget to easily implement a swipe card mechanism.
MIT License
9 stars 10 forks source link

StateError (Bad state: Stream has already been listened to.) #7

Open djaygit opened 3 years ago

djaygit commented 3 years ago

line 119 : _swipeSub = widget.swipe?.listen((angle) { i get the error StateError (Bad state: Stream has already been listened to.)

I started getting this error after i added StreamController _controller = StreamController();

swipe: _controller.stream,

I dont get this error if my stack has only 1 swipeable widget, this happens only when i added multiple swipeable swidget

loic-combis commented 2 years ago

Hi @djaygit, could you set up a small isolated app where the issue is reproducible so I can have a look.