-
public final class CreatePollScreenKt
-
-
Method Summary
Modifier and Type Method Description final static UnitCreatePollScreen(Function0<Unit> onBack, Function1<CreatePollParams, Unit> onCreatePoll, String onCreatePollLabel)Screen for creating a new poll with options and configuration switches. -
-
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.
-
-
-
-