getWidth method

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

Returns the actual capture width negotiated with the device.

Implementation

@override
Future<int> getWidth() async {
  return await methodChannel.invokeMethod('getWidth') as int;
}