3 Commits
Author SHA1 Message Date
zarzet ab9872621e perf(player): open Up Next at the playing song without building the rows before it
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.
2026-11-16 12:29:17 +07:00
zarzet 962e582acc chore(flutter): move to Flutter 3.50.0 and the material_ui packages
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.
2026-11-15 23:33:29 +07:00
zarzet 912dc52b32 fix(player): open the Material queue at the playing song
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.
2026-11-11 14:46:07 +07:00