generateRandomColor property

Color get generateRandomColor

生成随机色

Implementation

static Color get generateRandomColor => Color.fromARGB(
    255,
    Random.secure().nextInt(220),
    Random.secure().nextInt(220),
    Random.secure().nextInt(220));