Abhigyan103 / Clickboard

MIT License
7 stars 11 forks source link

[Bug] : Passing Build Context #55

Open Abhigyan103 opened 9 months ago

Abhigyan103 commented 9 months ago

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:

  1. Go to the Project Folder
  2. Open it using VS Code
  3. Scroll down in Problems
  4. See the warning

Expected behavior The code should be refactored such the that the BuildContext does not have to be passed in the Controllers