-
public final class CommandSuggestionItemKt
-
-
Method Summary
Modifier and Type Method Description final static UnitCommandSuggestionItem(Command command, Modifier modifier, Function1<Command, Unit> onCommandSelected, Function2<RowScope, Command, Unit> leadingContent, Function2<RowScope, Command, Unit> centerContent)Represents the command suggestion item in the command suggestion list popup. -
-
Method Detail
-
CommandSuggestionItem
@Composable() final static Unit CommandSuggestionItem(Command command, Modifier modifier, Function1<Command, Unit> onCommandSelected, Function2<RowScope, Command, Unit> leadingContent, Function2<RowScope, Command, Unit> centerContent)
Represents the command suggestion item in the command suggestion list popup.
- Parameters:
command- The command to display.modifier- Modifier for styling.onCommandSelected- Handler when the user taps on an item.leadingContent- Customizable composable function that represents the leading content of a command item.centerContent- Customizable composable function that represents the center content of a command item.
-
-
-
-