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
This means that if a user taps a button, and that button calls controller.next, there is no way to prevent spurious taps to the button calling next multiple times. This causes all sorts of problems if a button (rather than the tap target) is used to navigate, and that button's onPressed call is asynchronous.
Please change controller.next and controller.previous to async functions that wait for the tapHandler to complete before returning.
The text was updated successfully, but these errors were encountered:
thedalelakes
changed the title
controller.next should be async
TutorialCoachMarkerController next / previous should be async
Nov 9, 2023
TutorialCoachMarkController
returnsvoid
, despite calling a Future internally.This means that if a user taps a button, and that button calls controller.next, there is no way to prevent spurious taps to the button calling
next
multiple times. This causes all sorts of problems if a button (rather than the tap target) is used to navigate, and that button'sonPressed
call is asynchronous.Please change
controller.next
andcontroller.previous
to async functions that wait for the tapHandler to complete before returning.The text was updated successfully, but these errors were encountered: