Get the width of the currently playing video.
Future<int> getWidth() async { if (_isNeedDisposed) return 0; await _initPlayer.future; final result = await _mc!.invoke<int>('getWidth'); return result ?? 0; }