Package-level declarations
Types
Contains default Alpha presets for common interaction patterns.
Contains default values and factory functions for Border.
A shape describing a rectangle with rounded corners, where each corner radius is expanded by an additional amount specified by cornerExpansion.
Contains default Scale presets for common interaction patterns.
A scope used to define the style properties of the element.
Functions
Fire-and-forget animation function for Float. Using animateFloatAsState on the provided targetScale updating based on the current Interaction provided on the interactionSource.
Interop Modifier.clickable to apply the correct clickable modifier based on the requirement for hardware input. For example if a Tv device is detected it adds support for hardware clicks from remote controls. This has the added support for Style, applying interactionStyle to update the component based on the current InteractionSource state.
Interop Modifier.clickable to apply the correct clickable modifier based on the requirement for hardware input. For example if a Tv device is detected it adds support for hardware clicks from remote controls. This has the added support for Style, applying experimentalInteractionStyle to update the component based on the current InteractionSource state.
Interop Modifier to support either Modifier.selectable or Modifier.clickable, applying the correct modifier based on the requirement for hardware input. For example if a Tv device is detected it adds support for hardware clicks from remote controls. This has the added support for Style, applying experimentalInteractionStyle to update the component based on the current InteractionSource state.
Sets a Style on the element that reacts to interactions from the provided interactionSource.
Interop Modifier.selectable to apply the correct selectable modifier based on the requirement for hardware input. For example if a Tv device is detected it adds support for hardware clicks from remote controls. This has the added support for Style, applying experimentalInteractionStyle to update
Interop Modifier to support either Modifier.selectable or Modifier.clickable, applying the correct modifier based on the requirement for hardware input. For example if a Tv device is detected it adds support for hardware clicks from remote controls. This has the added support for Style, applying experimentalInteractionStyle to update the component based on the current InteractionSource state.
Sets a Style on the element that reacts to interactions from the provided interactionSource.
Checks if this Shape is a RoundedCornerShape.
Interop Modifier.selectable to apply the correct selectable modifier based on the requirement for hardware input. For example if a Tv device is detected it adds support for hardware clicks from remote controls. This has the added support for Style, applying experimentalInteractionStyle to update
Converts a RoundedCornerShape to an ExpandedRoundedCornerShape by applying the specified cornerExpansion to all corners.
Converts this Shape to an ExpandedRoundedCornerShape if it is a RoundedCornerShape, otherwise returns the shape unchanged.