getWidth method

  1. @override
Future<int> getWidth()
override

The actual capture width negotiated with the device, in pixels (0 when no camera is open).

Implementation

@override
Future<int> getWidth() async => _videoElement?.videoWidth ?? 0;