changeColor method

MaterialColor changeColor()

Return a randomly chosen colour from colour data list

Implementation

MaterialColor changeColor() =>
    colours[0 + random.nextInt(colours.length - 1)];