I need to display a random number in flutter using a function, but when i call it i get error.
void generateRandomNumber() {
setState(() {
point=pointValue[new Random().nextInt(pointValue.length)];
});
}
Aucun commentaire:
Enregistrer un commentaire