Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[video_player_avfoundation] Split iOS native code into multiple files (…
…#8171) This PR splits iOS native code into multiple files. Specifically, it extracts `FVPVideoPlayer` and `FVPFrameUpdater` from `FVPVideoPlayerPlugin.m` file, and puts them into separate files (.h and .m). This should make it easier to maintain the code and add new features in the future (e.g. support for platform views which is mentioned in [86613](flutter/flutter#86613). In order for the code to compile, I had to add some methods to the interface of `FVPVideoPlayer`. I also added doc comments for them. No tests were added as this PR does not introduce any new functionality. Related issues: - [86613](flutter/flutter#86613) This PR does not fix the issue, it only refactors some parts of the code, so that it is easier in the future to add support for platform views (the git diff will be cleaner when we modify the code to support it - only related changes would show up then). If you'd like me to create a new issue, specifically for splitting the native code into files, let me know.
- Loading branch information