Repository navigation
feat(cupertino): audio and subtitle track menus, live subtitles - #979
Merged
diegotori merged 1 commit intoNov 17, 2026
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #979 +/- ##
==========================================
+ Coverage 82.67% 83.98% +1.31%
==========================================
Files 48 48
Lines 2978 3060 +82
==========================================
+ Hits 2462 2570 +108
+ Misses 516 490 -26 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
CupertinoControls now matches MaterialControls for selectable tracks: - renders liveSubtitle while a subtitle track is on, the static subtitle list otherwise; - shows the subtitle toggle for tracks too, and the toggle selects the active-or-first track or null; - adds Audio and Subtitles entries to the options, each opening an action sheet that marks the active track (Subtitles has an Off row); - shows the options button when tracks exist without additionalOptions; - rebuilds on ChewieController notifications, so tracks set after load appear. Nothing changes when no tracks are set.
Ortes
force-pushed
the
feat/cupertino-tracks
branch
from
November 17, 2026 22:29
c199300 to
b4cd2de
Compare
diegotori
added a commit
that referenced
this pull request
Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CupertinoControlsgets the track supportMaterialControlsalready has since #948 and #949. Nothing changes when no tracks are set.liveSubtitlewhile a subtitle track is on, the static subtitle list otherwise.additionalOptions.ChewieControllernotifications, so tracks set after load appear.Tests:
test/cupertino/cupertino_tracks_test.dart. Full suite passes.Independent of #978. If both land, the toggle on Cupertino can pick
defaultSubtitleTrackinstead of the first track: a one-line follow-up.Proposed CHANGELOG entry:
Screenshots (iPhone 17 Pro simulator, demo tracks)
Material, same state, for comparison: