Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter generate random color

    color: Colors.primaries[Random().nextInt(Colors.primaries.length)],
 or 
 	use package random_color 1.0.5
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flutter #generate #random #color
ADD COMMENT
Topic
Name
8+9 =