Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

random colors for container flutter

import 'dart:math';

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