updateDraw method
void
updateDraw()
Implementation
void updateDraw() {
var translationMatrix = Float64List.fromList([
cos(angle), sin(angle), 0, 0,
-sin(angle), cos(angle), 0, 0,
0, 0, 1, 0,
0, 0, 0, 1
]);
for(int i=0; i<draws.length; i++){
draws[i] = backup_draws[i].transform(translationMatrix);
draws[i] = draws[i].shift(Offset(xPos, yPos));
}
}