Describe the bug
Passing the BuildContext in the controllers results in the warning of Passing BuildContext to providers indicates mixing UI with the business logic.
To Reproduce
Steps to reproduce the behavior:
Go to the Project Folder
Open it using VS Code
Scroll down in Problems
See the warning
Expected behavior
The code should be refactored such the that the BuildContext does not have to be passed in the Controllers
Describe the bug Passing the BuildContext in the controllers results in the warning of
Passing BuildContext to providers indicates mixing UI with the business logic.
To Reproduce Steps to reproduce the behavior:
Expected behavior The code should be refactored such the that the
BuildContext
does not have to be passed in the Controllers