Package 

Class MenuOptionItemKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit MenuOptionItem(Modifier modifier, Function0<Unit> onClick, Function1<RowScope, Unit> leadingIcon, String title, Color titleColor, TextStyle style, Dp itemHeight, Alignment.Vertical verticalAlignment, Arrangement.Horizontal horizontalArrangement) Represents a generic menu option item that can be used in a list of options.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • MenuOptionItem

        @Composable() final static Unit MenuOptionItem(Modifier modifier, Function0<Unit> onClick, Function1<RowScope, Unit> leadingIcon, String title, Color titleColor, TextStyle style, Dp itemHeight, Alignment.Vertical verticalAlignment, Arrangement.Horizontal horizontalArrangement)

        Represents a generic menu option item that can be used in a list of options.

        Parameters:
        modifier - Modifier for styling.
        onClick - Handler called when the item is clicked.
        leadingIcon - The icon to show on the left side of the item.
        title - The title of the item.
        titleColor - The color of the title.
        style - The style of the title.
        itemHeight - The height of the item.
        verticalAlignment - Used to apply vertical alignment.
        horizontalArrangement - Used to apply horizontal arrangement.