- Migrate to null safety. The fill parameter to
Array2D
is now required. - Require a
T Function(Vec)
toArray2D.generated()
andArray2D.generate()
. Runtime overloading doesn't feel idiomatic today.
- Better
hashCode
onVec
with fewer collisions.
- Add
Vec.nearestDirection
. - Add
Vec.intercardinalNeighbors
.
Rng.take()
no longer preserves order, but is faster. To preserve order, useRng.takeOrdered()
.- Add
Rng.round()
. - Add
Vec.neighbors
andVec.cardinalNeighbors
.
- Add
Rng.countFromFloat()
andRng.normal()
.
- Add
Array2D.fill()
.
- Add
Rng.shuffle()
andRng.setSeed()
.
- Add Line and Circle classes.
- Add
Rng.percent()
.
- Add
Rect.offset()
.
- Fix type error.
- Use real generic method syntax.
- Get rid of implicit casts and dynamic.
- Make
Rng.item()
andRng.take()
generic methods. - Add
Rng.float()
.
- Make strong mode clean.
- Fix bug in
Rect.clamp()
.
- Make constants
lowerCamelCase
. - Remove
sign()
andclamp()
since the Dart core libraries have them now.
- Add
CARDINAL
andINTERCARDINAL
direction lists toDirection
.