Package 

Class CreatePollScreenKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit CreatePollScreen(Function0<Unit> onBack, Function1<CreatePollParams, Unit> onCreatePoll, String onCreatePollLabel) Screen for creating a new poll with options and configuration switches.
      • Methods inherited from class java.lang.Object

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

      • CreatePollScreen

        @Composable() final static Unit CreatePollScreen(Function0<Unit> onBack, Function1<CreatePollParams, Unit> onCreatePoll, String onCreatePollLabel)

        Screen for creating a new poll with options and configuration switches.

        Parameters:
        onBack - Called when the user navigates back from the poll creation screen (via back press or discard).
        onCreatePoll - Called when the user submits a new poll configuration.
        onCreatePollLabel - Semantic / accessibility label for the poll creation button that triggers onCreatePoll.