Luka
09/22/2021, 12:09 PMpatrick
09/22/2021, 12:25 PMshape
parameter of an element (in this case Button
) is responsible for changing the border radius or general shape of the element.
By default a button uses the MaterialTheme.shapes.small
Shape that can be changed via your Theme if you wish to remove rounded corners for all small components - alternatively you can just change the shape of this one button via: Button(... ,shape = RectangleShape)
Luka
09/22/2021, 12:32 PM