Dart Número aleatório
import 'dart:math';
Random random = new Random();
int randomNumber = random.nextInt(100); // from 0 upto 99 included
Enthusiastic Eel
import 'dart:math';
Random random = new Random();
int randomNumber = random.nextInt(100); // from 0 upto 99 included
List<int> numberList=[];
Random random = new Random();
while(numberList.length<5){
int random_number = randomizer.nextInt(50);
if (!numberList.contains(random_number)){
numberList.add(random_number);
}
}