SparkShapes

constructor(none: CornerBasedShape = RoundedCornerShape(0.dp), extraSmall: CornerBasedShape = RoundedCornerShape(4.0.dp), small: CornerBasedShape = RoundedCornerShape(8.0.dp), medium: CornerBasedShape = RoundedCornerShape(12.0.dp), large: CornerBasedShape = RoundedCornerShape(16.0.dp), extraLarge: CornerBasedShape = RoundedCornerShape(28.0.dp), full: CornerBasedShape = CircleShape)

Parameters

none

A shape style with 4 same-sized corners whose size are equal to RectangleShape. By default app bars, navigation bars, banners, full-screen dialogs, and navigation rails use this shape.

extraSmall

A shape style with 4 same-sized corners whose size are bigger than RectangleShape and smaller than SparkShapes.small. By default autocomplete menu, select menu, snackbars, standard menu, and text fields use this shape.

small

A shape style with 4 same-sized corners whose size are bigger than SparkShapes.extraSmall and smaller than SparkShapes.medium. By default chips use this shape.

medium

A shape style with 4 same-sized corners whose size are bigger than SparkShapes.small and smaller than SparkShapes.large. By default cards and small FABs use this shape.

large

A shape style with 4 same-sized corners whose size are bigger than SparkShapes.medium and smaller than SparkShapes.extraLarge. By default extended FABs, FABs, and navigation drawers use this shape.

extraLarge

A shape style with 4 same-sized corners whose size are bigger than SparkShapes.large and smaller than CircleShape. By default large FABs, Bottom sheets, Dialogs and Time picker use this shape.

full

A shape style with 4 same-sized corners whose size are equal to CircleShape. By default large Badge, Buttons, Icon buttons, Sliders, Switches and Search bar use this shape.