Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何导入数学点类/包
文档表明它可用
但是我不断收到"Undefined class: Point"错误
"Undefined class: Point"
我的代码是
import "dart:math"; class Pointer{ Point point; Point getPoint(){ return point; }
}
奇怪的是我可以使用这个dart:maths Random类
dart:maths
Random
更新您的 SDK,这是一个相对较新的类,首先在 r28272 中提交。