Transform2D constructor

Transform2D({
  1. Offset translate = Offset.zero,
  2. double scale = 1.0,
  3. double rotation = 0.0,
  4. Offset anchor = Offset.zero,
})

Implementation

Transform2D({
  this.translate = Offset.zero,
  this.scale = 1.0,
  this.rotation = 0.0,
  this.anchor = Offset.zero,
});