How do I generate random numbers in Dart?

前端 未结 14 1279
一个人的身影
一个人的身影 2021-01-31 06:49

How do I generate random numbers using Dart?

14条回答
  •  花落未央
    2021-01-31 07:06

    use this library http://dart.googlecode.com/svn/branches/bleeding_edge/dart/lib/math/random.dart provided a good random generator which i think will be included in the sdk soon hope it helps

提交回复
热议问题