path property

  1. @override
Path path
override

Implementation

@override
Path get path => roundedPoly([
      VertexDefinition(0, height), // bottom left
      VertexDefinition(width, height), // bottom right
      VertexDefinition(width / 2, 0), // top center
    ], borderRadius);