src property

String? get src

Implementation

String? get src => _src;
set src (String? value)

Implementation

set src(String? value) {
  if (_src != value) {
    bool needDispose = _src != null;
    _src = value;

    if (needDispose) {
      controller!.dispose().then((_) {
        _removeVideoBox();
        _createVideoBox();
      });
    } else {
      _createVideoBox();
    }
  }
}