📜  在颤动中获得随机颜色 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:09.533000             🧑  作者: Mango

代码示例3
Random random = Random();
Color tempcol = Color.fromRGBO(
    random.nextInt(255),
    random.nextInt(255),
    random.nextInt(255),
    1,
);
//tempcol is random color