delete method
void
delete()
⛔ By disposing of the controller
⚠️ This method does not need to be called in normal cases, SimplePlayer already has an AutoDispose to facilitate its correct use.
Implementation
void delete() {
videoPlayerController.dispose();
notifyListeners();
}