Add animation curve slowMiddle#28540
Conversation
|
Hmm. I like "stallCenter", "stallMiddle", "slowCenter" or maybe "slowMiddle" better as a name. "fastInFastOut" sounds like it's just fast all the time. You'll need to create the assets-for-api-docs content before you commit this, since otherwise the link will be broken in the API docs. You'll want to add your new curve here, and then run the asset generator with this PR to generate the curve animation. Thank you for fixing the extra "and"s in the docs! |
|
@gspencergoog Thanks! I'll submit a PR for assets after we settled the name and numbers here. |
|
Actually, I was thinking about it, and I think it should be |
|
@gspencergoog Sure. What about the numbers, are they ok? |
|
Also it seems I need to merge this before the asset PR, otherwise the CI for the asset PR would fail. |
|
The numbers seem fine. |

Description
fastInFastOutslowMiddleper requested in Add an animation curve that is straight in the middle #26743. It starts quickly, flats out when near the center, and ends quickly.It's named so because we also have fastOutSlowIn. Another option isSee discussion belowstallCenter, which is a new format but maybe clearer.Cubic(0.15, 0.85, 0.85, 0.15), as shown below.Related Issues
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?