How can I access the value of my variable and use the variable’s value in another page
This is my variable( String activeTitle) from the Widget BarGraph.
flutter: how to access the value of my variable and use the variable’s value in another page
so here’s my variable(String activeTitle) from the Widget BarGraph
Why can’t I access variables from within own class in flutter
first of all sorry if my terminology is a bit wrong but I’m fairly new to flutter.
So I can’t access the color variable originalColor which is defined at the top of the class from within the class _LightState extends State<Light> section and I can’t work out why. testColGray and testCol2 are static variables from another class which I can access.
Why can’t I access variables from within own class in flutter
first of all sorry if my terminology is a bit wrong but I’m fairly new to flutter.
So I can’t access the color variable originalColor which is defined at the top of the class from within the class _LightState extends State<Light> section and I can’t work out why. testColGray and testCol2 are static variables from another class which I can access.