Fetch POST All in One
https://www.cnblogs.com/xgqfrms/p/9006886.html
"use strict";
Fetch POST All in One
https://www.cnblogs.com/xgqfrms/p/9006886.html
"use strict";
<h1>Flutter in DartPad live app</h1> | |
<div> | |
<canvas id="canvas" width="300" height="300"></canvas> | |
</div> | |
http://www.ecma-international.org/ecma-262/6.0/#sec-class-definitions
14.5 Class Definitions
Syntax
/// dart block comments | |
// https://dart.dev/guides/language/effective-dart/documentation#doc-comments | |
// https://dart.dev/samples#comments | |
/** | |
* | |
* @author xgqfrms | |
* @license MIT | |
* @copyright xgqfrms | |
* @created 2020-07-07 |
import 'dart:math'; | |
void main() { | |
int max = 6; | |
dynamic dice; | |
// int nextInt(int max); | |
dice = Random().nextInt(max); | |
// 0 ~ 5, | |
dice += 1; | |
// 1 ~ 6, |