mirror of
https://github.com/asjqkkkk/flutter-todos.git
synced 2025-08-06 14:19:24 +08:00
14 lines
279 B
Dart
14 lines
279 B
Dart
import 'dart:math';
|
|
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
|
|
|
|
void main(){
|
|
test("\n测试随机数字\n", (){
|
|
for (var i = 0; i < 20; ++i) {
|
|
final param = Random().nextInt(3);
|
|
print("$param");
|
|
}
|
|
print(DateTime.now().toIso8601String());
|
|
});
|
|
} |