Pill Button Shaper
Button shaper that returns buttons with completely rounded corners.
Author
Kirill Grouchnikov
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
open override fun getCornerRadius(width: Float, height: Float, insets: Float, drawScope: DrawScope): Float
Content copied to clipboard
Returns the corner radius of a button.
Link copied to clipboard
open override fun getPreferredSize(uiPreferredWidth: Float, uiPreferredHeight: Float): Size
Content copied to clipboard
Returns the preferred size for the specified button dimensions.