@@ -21,8 +21,7 @@ of your app.
2121
2222## Design & API documentation
2323
24- - [ Material Design 3 guidelines:
25- Shape] ( https://m3.material.io/styles/shape/overview )
24+ - [ Material Design 3 guidelines: Shape] ( https://m3.material.io/styles/shape/overview )
2625
2726## How it works
2827
@@ -104,18 +103,18 @@ that define aspects of the shape. `ShapeAppearanceModel` uses the
104103
105104The following attributes can be used in a ` shapeAppearance ` style:
106105
107- Attribute Name | Format | Description | Supported Values
108- ------------------------- | --------- | ---------------------------------------------------- | ----------------
109- ` cornerFamily ` | enum | corner family to be used for all four corners | rounded, cut
110- ` cornerFamilyTopLeft ` | enum | corner family to be used for the top left corner | rounded, cut
111- ` cornerFamilyTopRight ` | enum | corner family to be used for the top right corner | rounded, cut
112- ` cornerFamilyBottomRight ` | enum | corner family to be used for the bottom right corner | rounded, cut
113- ` cornerFamilyBottomLeft ` | enum | corner family to be used for the bottom left corner | rounded, cut
114- ` cornerSize ` | dimension | corner size to be used for all four corners | ` dp ` values
115- ` cornerSizeTopLeft ` | dimension | corner size to be used for the top left corner | ` dp ` values
116- ` cornerSizeTopRight ` | dimension | corner size to be used for the top right corner | ` dp ` values
117- ` cornerSizeBottomRight ` | dimension | corner size to be used for the bottom right corner | ` dp ` values
118- ` cornerSizeBottomLeft ` | dimension | corner size to be used for the bottom left corner | ` dp ` values
106+ Attribute Name | Format | Description | Supported Values
107+ ------------------------- |--------------------- | ---------------------------------------------------- | ----------------
108+ ` cornerFamily ` | enum | corner family to be used for all four corners | ` rounded ` , ` cut `
109+ ` cornerFamilyTopLeft ` | enum | corner family to be used for the top left corner | ` rounded ` , ` cut `
110+ ` cornerFamilyTopRight ` | enum | corner family to be used for the top right corner | ` rounded ` , ` cut `
111+ ` cornerFamilyBottomRight ` | enum | corner family to be used for the bottom right corner | ` rounded ` , ` cut `
112+ ` cornerFamilyBottomLeft ` | enum | corner family to be used for the bottom left corner | ` rounded ` , ` cut `
113+ ` cornerSize ` | dimension\| fraction | corner size to be used for all four corners | dimension values, percentage
114+ ` cornerSizeTopLeft ` | dimension\| fraction | corner size to be used for the top left corner | dimension values, percentage
115+ ` cornerSizeTopRight ` | dimension\| fraction | corner size to be used for the top right corner | dimension values, percentage
116+ ` cornerSizeBottomRight ` | dimension\| fraction | corner size to be used for the bottom right corner | dimension values, percentage
117+ ` cornerSizeBottomLeft ` | dimension\| fraction | corner size to be used for the bottom left corner | dimension values, percentage
119118
120119To build a ` shapeAppearance ` , you need at least a ** ` cornerSize ` ** and
121120** ` cornerFamily ` ** value specified for each corner.
0 commit comments