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
Receive this error when trying do .addAndGet() via setState() instead of intitState(). the purpose for me to set it via setState() is so that it can be toggleable in case user's dont want synchronized scrolling across the widgets. for application context, I'm making a Markdown editor as (top of the screen is the user's input rendered inmarkdown, bottom is a textfield) my first flutter app and the thought behind using this package is that if someone is editing a large file being able to have scroll synchronized would be helpful in making sure it renders properly as well as finding sections to edit.
Anyway, after I get this error the app and this package function as expected after a restart (thanks to sharedd preferences loading on start), however I dont think having to restart the app is good UX.
Steps to reproduce
Not sure what to put here so I'll just put my code snippet, this function is also called upon via initState() and thus the reason for the extra checks, as initState loads the last known settings from shared preferences.
Problem description
linked_scroll_controller
Receive this error when trying do .addAndGet() via setState() instead of intitState(). the purpose for me to set it via setState() is so that it can be toggleable in case user's dont want synchronized scrolling across the widgets. for application context, I'm making a Markdown editor as (top of the screen is the user's input rendered inmarkdown, bottom is a textfield) my first flutter app and the thought behind using this package is that if someone is editing a large file being able to have scroll synchronized would be helpful in making sure it renders properly as well as finding sections to edit.
Anyway, after I get this error the app and this package function as expected after a restart (thanks to sharedd preferences loading on start), however I dont think having to restart the app is good UX.
Steps to reproduce
Not sure what to put here so I'll just put my code snippet, this function is also called upon via initState() and thus the reason for the extra checks, as initState loads the last known settings from shared preferences.
Expected behavior
to not error
Actual behavior
error (picture above)
Environment
Tested on Linux (Arch) as well as Android (pixel 6 running latest android 15 beta)
Additional details
The text was updated successfully, but these errors were encountered: