TranslateModifier constructor

TranslateModifier({
  1. double x = 0.0,
  2. double y = 0.0,
})

Implementation

TranslateModifier({double x = 0.0, double y = 0.0})
  : super(transform: Matrix4.translationValues(x, y, 0.0));