flutter_subtitle_wrapper
flutter_subtitle_wrapper copied to clipboard
toggle subtitle enabled
Description
Users can now toggle the subtitles. I added a setter and getter for showSubtitles. Users can now use set isShowSubtitles(bool newValue) { showSubtitles = newValue; }
to toggle subtitles. I also added a button in main.dart for testing this feature.
Type of Change
- [ x] โจ New feature (non-breaking change which adds functionality)
- [ ] ๐ ๏ธ Bug fix (non-breaking change which fixes an issue)
- [ ] โ Breaking change (fix or feature that would cause existing functionality to change)
- [ ] ๐งน Code refactor
- [ ] โ Build configuration change
- [ ] ๐ Documentation
- [ ] ๐๏ธ Chore