how to get a bool in a stateful widget to change a counter in it's parent stateful widget – Flutter
I'm quite new to flutter and i'm struggling to get my head around passing variables up the widget tree. I've written a very simple code to demonstrate what i'm trying to achieve and I was hoping someone could please spell…