-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
Note
This is specific to RoundedRectangleBorder. BoxBorder already does this via isUniform.
A few weeks ago I opened this issue (#104201) because I thought it felt better. However, today I was playing with Figma and, not that Flutter has to follow it, Figma has the same StrokeAlign.start as Flutter, which is great. My issue then is closed.
... Except...
When I made the PR for StrokeAlign.center and outside, I made the rectangle rounder (check screenshot) because it is impossible to lerp from 0-1 otherwise. Figma doesn't do this. So... should we have the same behavior of StrokeAlign.start for center and outside, which is the same as Figma, but doesn't lerp 0-1 perfectly (check video)? It is a two or three LOC change and it hasn't landed on stable yet, so it is not a breaking change.
Pro: consistency, same behavior as start, same behavior as Figma.
Cons: lerp from 0.0 to 1.0 will jump.
