Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

get random color in flutter

Colors.primaries[Random().nextInt(Colors.primaries.length)],
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #random #color #flutter
ADD COMMENT
Topic
Name
2+4 =