stop method

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

Stop the flow of data from device to outputs.

It is safe to call start again after calling this method.

Implementation

@override
Future<void> stop() {
  verifyInitialized();
  verifyNotDisposed();
  return camera.stopPreview();
}