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
I have a working code before null safety flutter upgrade. But after the migration, the same code doesn't work.
I had a simple horizontal swipe card, but now something force the swipe to stay on the first position. When I remove didChangeDependencies (function I use to load when data change) the swipe is OK. I think when data is load by didChangeDependencies it refresh new Swiper.children( and force to return always to first index position.
But I can't do without didChangeDependencies, how can I do ?
I have a working code before null safety flutter upgrade. But after the migration, the same code doesn't work.
I had a simple horizontal swipe card, but now something force the swipe to stay on the first position. When I remove
didChangeDependencies
(function I use to load when data change) the swipe is OK. I think when data is load bydidChangeDependencies
it refresh new Swiper.children( and force to return always to first index position.But I can't do without
didChangeDependencies
, how can I do ?Here is the package https://pub.dev/packages/flutter_swiper_null_safety/example Here is my code:
The text was updated successfully, but these errors were encountered: