The question is simple & hard to understand at the same time. Why do I need to mark all my variables in the Statefull Widget as private?
Now when I declare a variable I declare it like private.
bool _isOpened = true;
String _currentUserUID;
...
But why do I need this? I do not access these variables from other widgets. I do not override. I know my app logic & totally insured in the safety of my code in all widgets.
So why do I need private variables? Is there any impact of using private variables & methods? Maybe performance benefits?