Package 

Class PollSwitchListKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit PollSwitchList(Modifier modifier, List<PollSwitchItem> pollSwitchItems, Function1<List<PollSwitchItem>, Unit> onSwitchesChanged, Dp itemHeightSize, PaddingValues itemInnerPadding) The Poll switch list is that a Composable that enables users to create a poll with configurations.
      • Methods inherited from class java.lang.Object

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

      • PollSwitchList

        @Composable() final static Unit PollSwitchList(Modifier modifier, List<PollSwitchItem> pollSwitchItems, Function1<List<PollSwitchItem>, Unit> onSwitchesChanged, Dp itemHeightSize, PaddingValues itemInnerPadding)

        The Poll switch list is that a Composable that enables users to create a poll with configurations.

        Parameters:
        modifier - The Modifier for styling.
        pollSwitchItems - A list of PollSwitchItem to create the configuration list.
        onSwitchesChanged - A lambda that will be executed when a switch on the list is changed.
        itemHeightSize - The height size of the question item.
        itemInnerPadding - The inner padding size of the question item.