arch property

RoundedPolygon arch
final

An arch shape.

Implementation

static final RoundedPolygon arch =
    RoundedPolygon(
          4,
          perVertexRounding: const [
            _cornerRound100,
            _cornerRound100,
            _cornerRound20,
            _cornerRound20,
          ],
        )
        .transformed((Matrix4.identity()..rotateZ(_negative135Radians)).asPointTransformer())
        .normalized();