3 Commits
Author SHA1 Message Date
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 9421938387 fix(motion): keep each Love glyph's colour through its crossfade
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.
2026-11-07 20:14:26 +07:00
zarzet 9da955b845 feat(motion): morph the Material Love button as an expressive toggle
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.
2026-11-07 20:14:26 +07:00