flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
161.94k stars 26.59k forks source link

The default Android page transition is not up to date for M3. #142352

Open jonahwilliams opened 3 months ago

jonahwilliams commented 3 months ago

See also:

the android zoom page transition relies on a cache to be effective, but these cache causes fidelity problems with common patterns. I will investigate some existing android samples to determine if this is actually the most current android page transition.

jonahwilliams commented 3 months ago

From

I do not see the zooming behavior, that seems to have been an "M2" transition. there are different lateral/top-level transitions which we could initially approximate

jonahwilliams commented 3 months ago

Spec is here: https://github.com/material-components/material-components-android/blob/master/docs/theming/Motion.md#shared-axis

The old zoom transition is the m2 one:

See https://m2.material.io/design/navigation/navigation-transitions.html#peer-transitions , Top Level transitions

jonahwilliams commented 3 months ago

FYI @goderbauer @johnmccutchan

I also ran through compose-samples repo and could not find an example of the old transition.

goderbauer commented 3 months ago

Looks like we need to update our transition. @HansMuller Is this already on the list of remaining work for M3?

HansMuller commented 3 months ago

It's not on the current TODO list but it should be.

HansMuller commented 3 months ago

CC @QuncCccccc