Give the App Your Personal Touch
Now let’s modify what we’ve seen. We’ll change the app color to be green, add a red reset button to reset the counter to 0, make the app display the string “None” instead of the counter when the counter is at 0 and change the appBar’s title text. In doing this, we’ll get a feel for how to make simple changes, and also an introduction to more complex Flutter syntax.
The result will look like this:
Change the App’s Primary Color
We’ll start editing our app with the simplest change: changing the color to green. This ...