DFPosition class Null safety

位置

Constructors

DFPosition(double x, double y)
创建坐标

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
x double
x坐标
read / write
y double
y坐标
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toOffset() Offset
转换为Offset
toString() String
转换为字符串
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override