• Todd Volkert's avatar
    Add `const Border.uniform()` (#30640) · 0b8403b6
    Todd Volkert authored
    `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.
    0b8403b6
box_border.dart 28 KB