How to make a Random color generator Background in Flutter?

Posted by Andre Scott | Updated on

Want to make a Random color generator Background in Flutter? If you want to change the color when button is pressed, you have to use a StatefulWidget. A simple example is like below:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers