mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
`Border.all()` is a factory constructor and thus not const constructible. This change adds a `const Border.uniform()` constructor and makes `Border.all()` delegate to it. This allows callers to more likely be able to make their widget tree const constructible.