The list has no fixed row heights, so jumping to the playing song built and
laid out every earlier row in one frame, each with its swipe controllers and
artwork lookup. After Shuffle library that could be thousands of rows while
the sheet opened.
The rows the jump passes are now empty boxes of the measured row height.
None of them reach the screen, and the ones kept just above the viewport
become real rows on the next frame.
In the widget test a 3,000 song queue playing song 2,501 took about 13 s to
open before and under a second now.
Flutter 3.50 deprecates its built-in Material and Cupertino libraries in
favour of the material_ui and cupertino_ui packages. The imports move
with the official fix (dart fix, migrate_design_widgets); the app's old
two-library theme bridge collapses into one Theme type.
- MaterialExpressiveScope keeps the complete host theme nearest its
child. The reduced copy made for the expressive widgets now shares the
app's Theme type and would hide component themes and extensions.
- LegacyThemeBrightness hands the brightness to the glass package, which
still reads Flutter's built-in theme.
- appLocalizationsDelegates lists the material_ui localization delegates;
the generated list still names the built-in ones.
- Tests: findByTooltip and pageBack replace the flutter_test helpers that
only know the built-in widgets, and several tests that had gone stale
against earlier app changes are repaired.
Up Next listed the whole queue from its first song, so a long queue
opened far above the song playing. The Material sheet and desktop panel
now jump there once when they open, with the song before it still in
view; a later song change leaves the list where the user put it.