previewWidget abstract method

Future<Widget> previewWidget()

A widget that displays the preview frames of a camera device.

This should only be called after passing as a parameter to a CameraController and CameraController.initialize has been called.

Implementation

Future<Widget> previewWidget();