Closed danger-ahead closed 1 year ago
Thank you for your contributions @danger-ahead! We are using MVVM architecture + provider for state management. Please implement the changes in that fashion instead of setState.
Thank you for your contributions @danger-ahead! We are using MVVM architecture + provider for state management. Please implement the changes in that fashion instead of
setState.
I have little experience in using architecture. Can you please guide me on the changes required?
For now, I haven't changed the internal working or function calls, I have just updated how data is processed after being inputted by the user.
Also I have called the setstate inside another statefulbuilder, to avoid unnecessary rerenders of the whole screen.
Fixes #241
Describe the changes you have made in this PR --
Screenshots of the changes (If any) - https://user-images.githubusercontent.com/55531939/201372810-468c79fd-8d3f-4149-8b2c-4a5f38bed91b.mp4