SpatialIndicationNodeFactory
(
hoverColor
, pressedColor
)
|
Signature
constructor(hoverColor: Color, pressedColor: Color) Parameters hoverColor: ColorpressedColor: ColorReturns SpatialIndicationNodeFactory |
create
(
interactionSource
)
|
Creates a new SpatialIndicationNode for the given interaction source. The node renders colored overlays that respond to hover and press states using this factory's configured hoverColor and pressedColor values.
Signature
open fun create(interactionSource: InteractionSource): DelegatableNode Parameters interactionSource: InteractionSourceReturns DelegatableNode |