Flutter
vector_math
Vector2
clone method
clone
clone
method
Null safety
Vector2
clone
(
)
Clone of this.
Implementation
Vector2 clone() => Vector2.copy(this);
Flutter
vector_math
Vector2
clone method
Vector2 class
Constructors
Vector2
all
array
copy
fromBuffer
fromFloat32List
random
zero
Properties
g
gg
ggg
gggg
gggr
ggr
ggrg
ggrr
gr
grg
grgg
grgr
grr
grrg
grrr
hashCode
isInfinite
isNaN
length
length2
r
rg
rgg
rggg
rggr
rgr
rgrg
rgrr
rr
rrg
rrgg
rrgr
rrr
rrrg
rrrr
runtimeType
s
ss
sss
ssss
ssst
sst
ssts
sstt
st
storage
sts
stss
stst
stt
stts
sttt
t
ts
tss
tsss
tsst
tst
tsts
tstt
tt
tts
ttss
ttst
ttt
ttts
tttt
x
xx
xxx
xxxx
xxxy
xxy
xxyx
xxyy
xy
xyx
xyxx
xyxy
xyy
xyyx
xyyy
y
yx
yxx
yxxx
yxxy
yxy
yxyx
yxyy
yy
yyx
yyxx
yyxy
yyy
yyyx
yyyy
Methods
absolute
absoluteError
add
addScaled
angleTo
angleToSigned
ceil
clamp
clampScalar
clone
copyFromArray
copyInto
copyIntoArray
cross
distanceTo
distanceToSquared
divide
dot
floor
multiply
negate
normalize
normalized
normalizeInto
normalizeLength
noSuchMethod
postmultiply
reflect
reflected
relativeError
round
roundToZero
scale
scaled
scaleOrthogonalInto
setFrom
setValues
setZero
splat
sub
toString
Operators
operator *
operator +
operator -
operator /
operator ==
operator []
operator []=
operator unary-
Static methods
max
min
mix