Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter random int

import 'dart:math';

main() {
  var rng = new Random();
  for (var i = 0; i < 10; i++) {
    print(rng.nextInt(100));
  }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flutter #random #int
ADD COMMENT
Topic
Name
2+9 =