Command Button Presentation Model
fun CommandButtonPresentationModel(presentationState: CommandButtonPresentationState = CommandButtonPresentationState.Medium, backgroundAppearanceStrategy: BackgroundAppearanceStrategy = BackgroundAppearanceStrategy.Always, horizontalAlignment: HorizontalAlignment = HorizontalAlignment.Center, iconDimension: Dp? = null, iconDisabledFilterStrategy: IconFilterStrategy = IconFilterStrategy.ThemedFollowColorScheme, iconEnabledFilterStrategy: IconFilterStrategy = IconFilterStrategy.Original, iconActiveFilterStrategy: IconFilterStrategy = IconFilterStrategy.Original, forceAllocateSpaceForIcon: Boolean = false, textStyle: TextStyle? = null, textOverflow: TextOverflow = TextOverflow.Clip, popupPlacementStrategy: PopupPlacementStrategy = PopupPlacementStrategy.Downward, toDismissPopupsOnActivation: Boolean = true, autoRepeatAction: Boolean = false, autoRepeatInitialInterval: Long = CommandButtonInteractionConstants.DefaultAutoRepeatInitialIntervalMillis, autoRepeatSubsequentInterval: Long = CommandButtonInteractionConstants.DefaultAutoRepeatSubsequentIntervalMillis, actionFireTrigger: ActionFireTrigger = ActionFireTrigger.OnPressReleased, popupMenuPresentationModel: CommandPopupMenuPresentationModel = CommandPopupMenuPresentationModel(), textClick: TextClick = TextClick.Action, actionRichTooltipPresentationModel: RichTooltipPresentationModel = RichTooltipPresentationModel(), popupRichTooltipPresentationModel: RichTooltipPresentationModel = RichTooltipPresentationModel(), contentPadding: PaddingValues = CommandButtonSizingConstants.CompactButtonContentPadding, horizontalGapScaleFactor: Float = 1.0f, verticalGapScaleFactor: Float = 1.0f, minWidth: Dp = 0.dp, isMenu: Boolean = false, sides: Sides = Sides())
Content copied to clipboard