Package-level declarations
Properties
Link copied to clipboard
val LocalElevationOverlay: ERROR CLASS: Symbol not found for ProvidableCompositionLocal<com/adevinta/spark/components/surface/ElevationOverlay?>
CompositionLocal containing the ElevationOverlay used by Surface components. Provide null to turn off ElevationOverlays for the children within this CompositionLocal..
Functions
Link copied to clipboard
fun Surface(modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, shape: ERROR CLASS: Symbol not found for Shape = SparkTheme.shapes.none, color: ERROR CLASS: Symbol not found for Color = SparkTheme.colors.surface, contentColor: ERROR CLASS: Symbol not found for Color = contentColorFor(color), elevation: ERROR CLASS: Symbol not found for Dp = 0.dp, border: ERROR CLASS: Symbol not found for BorderStroke?? = null, content: () -> Unit)
fun Surface(onClick: () -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, enabled: Boolean = true, shape: ERROR CLASS: Symbol not found for Shape = SparkTheme.shapes.none, color: ERROR CLASS: Symbol not found for Color = SparkTheme.colors.surface, contentColor: ERROR CLASS: Symbol not found for Color = contentColorFor(color), elevation: ERROR CLASS: Symbol not found for Dp = 0.dp, border: ERROR CLASS: Symbol not found for BorderStroke?? = null, interactionSource: ERROR CLASS: Symbol not found for MutableInteractionSource?? = null, content: () -> Unit)
fun Surface(selected: Boolean, onClick: () -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, enabled: Boolean = true, shape: ERROR CLASS: Symbol not found for Shape = SparkTheme.shapes.none, color: ERROR CLASS: Symbol not found for Color = SparkTheme.colors.surface, contentColor: ERROR CLASS: Symbol not found for Color = contentColorFor(color), elevation: ERROR CLASS: Symbol not found for Dp = 0.dp, border: ERROR CLASS: Symbol not found for BorderStroke?? = null, interactionSource: ERROR CLASS: Symbol not found for MutableInteractionSource?? = null, content: () -> Unit)
fun Surface(checked: Boolean, onCheckedChange: (Boolean) -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, enabled: Boolean = true, shape: ERROR CLASS: Symbol not found for Shape = SparkTheme.shapes.none, color: ERROR CLASS: Symbol not found for Color = SparkTheme.colors.surface, contentColor: ERROR CLASS: Symbol not found for Color = contentColorFor(color), elevation: ERROR CLASS: Symbol not found for Dp = 0.dp, border: ERROR CLASS: Symbol not found for BorderStroke?? = null, interactionSource: ERROR CLASS: Symbol not found for MutableInteractionSource?? = null, content: () -> Unit)
Material surface is the central metaphor in material design. Each surface exists at a given elevation, which influences how that piece of surface visually relates to other surfaces and how that surface is modified by tonal variance.