turn method
void
turn()
- 旋转画布
- 设置角度
Implementation
void turn() {
drawConfig.value =
drawConfig.value.copyWith(angle: (drawConfig.value.angle + 1) % 4);
}
void turn() {
drawConfig.value =
drawConfig.value.copyWith(angle: (drawConfig.value.angle + 1) % 4);
}