rotate method Null safety

  1. @FfiNative<Void Function(Pointer<Void>, Double)>(Pointer<Void>, Double)>('Canvas::rotate', isLeaf: true)
void rotate(
  1. double radians
)

Add a rotation to the current transform. The argument is in radians clockwise.

Implementation

@FfiNative<Void Function(Pointer<Void>, Double)>('Canvas::rotate', isLeaf: true)
external void rotate(double radians);