popalay
04/23/2021, 5:15 PMShapes
class takes a CornerBasedShape
and not just a Shape
, and because of this I cannot use GenericShape
as a theme parameter?Andrey Kulikov
04/23/2021, 5:30 PMTextField
is using
MaterialTheme.shapes.small.copy(bottomEnd = ZeroCornerSize, bottomStart = ZeroCornerSize),
as a shape. such theming will not be possible with any generic shape. but you can still provide your GenericShape as a param for TextField if neededpopalay
04/23/2021, 5:32 PM