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.
Both glyphs in the Love toggle crossfade read the button's current
foreground, so the outgoing outline heart turned red while it faded
out. A toggle's glyph now carries its own colour (the disabled colour
when it cannot be pressed), so the outgoing glyph keeps the old one.
The collection Love button swapped its icon and colour in one frame
because HeaderCircleButton never told ExpressiveIconButton it was a
toggle. HeaderCircleButton takes a selected flag: on Material the button
morphs on the M3E toggle springs and crossfades its glyph on the effects
spring; reduced motion keeps the static toggle and Mornye ignores it.
The collection Love button and the desktop artist favourite pass it.