W3cubDocs

/Dart 2

nextDouble method

double nextDouble ()

Generates a non-negative random floating point value uniformly distributed in the range from 0.0, inclusive, to 1.0, exclusive.

Implementation

double nextDouble();

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-math/Random/nextDouble.html