menu
f_kit package
documentation
utils/f_random.dart
FRandom
getR static method
getR static method
dark_mode
light_mode
getR
static method
int
getR
(
int
x
)
在[0,x)之间获得随机数,如果想从1开始,那对结果+1即可
Implementation
static int getR(int x) { return Random().nextInt(x); }
f_kit package
documentation
utils/f_random
FRandom
getR static method
FRandom class