stopPreview method

  1. @override
Future<void> stopPreview()
override

Stops the native preview stream and unregisters the texture.

Implementation

@override
Future<void> stopPreview() async {
  await methodChannel.invokeMethod('stopPreview');
}