Package-level declarations
Functions
Link copied to clipboard
fun GenericContainer(modifier: Modifier = Modifier, background: Color = VideoTheme.colors.buttonPrimaryDefault, roundness: Dp = VideoTheme.dimens.roundnessL, content: @Composable BoxScope.() -> Unit)
Link copied to clipboard
fun GenericStreamButton(modifier: Modifier = Modifier, onClick: () -> Unit, enabled: Boolean = true, style: StreamButtonStyle = ButtonStyles.primaryButtonStyle(), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable RowScope.() -> Unit)
Link copied to clipboard
fun GenericToggleButton(modifier: Modifier = Modifier, toggleState: State<ToggleableState> = rememberUpdatedState(newValue = ToggleableState(false)), onClick: (ToggleableState) -> Unit = {}, onContent: @Composable BoxScope.(onClick: (ToggleableState) -> Unit) -> Unit, offContent: @Composable BoxScope.(onClick: (ToggleableState) -> Unit) -> Unit)
Link copied to clipboard
fun StreamBadgeBox(modifier: Modifier = Modifier, text: String? = null, showWithoutValue: Boolean = true, style: BadgeStyle = VideoTheme.styles.badgeStyles.defaultBadgeStyle(), content: @Composable BoxScope.(Modifier) -> Unit)
Link copied to clipboard
fun StreamButton(modifier: Modifier = Modifier, icon: ImageVector? = null, text: String, enabled: Boolean = true, showProgress: Boolean = false, style: StreamButtonStyle = VideoTheme.styles.buttonStyles.primaryButtonStyle(), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, onClick: () -> Unit = { })
Link copied to clipboard
fun StreamDialog(modifier: Modifier = Modifier, onDismiss: () -> Unit = {}, style: DialogStyle, dialogProperties: DialogProperties = DialogProperties(), content: @Composable BoxScope.() -> Unit)
Link copied to clipboard
fun StreamDialogPositiveNegative(modifier: Modifier = Modifier, onDismiss: () -> Unit = {}, dialogProperties: DialogProperties = DialogProperties(), style: DialogStyle = VideoTheme.styles.dialogStyles.defaultDialogStyle(), title: String? = null, icon: ImageVector? = null, contentText: String? = null, positiveButton: Triple<String, StreamButtonStyle, () -> Unit>? = null, negativeButton: Triple<String, StreamButtonStyle, () -> Unit>? = null, content: @Composable () -> Unit? = null)
Link copied to clipboard
fun StreamDrawableButton(modifier: Modifier = Modifier, @DrawableRes drawable: Int, style: StreamFixedSizeButtonStyle, enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, onClick: () -> Unit = {})
Link copied to clipboard
fun StreamDrawableToggleButton(modifier: Modifier = Modifier, toggleState: State<ToggleableState> = rememberUpdatedState(newValue = ToggleableState(false)), @DrawableRes onDrawable: Int, @DrawableRes offDrawable: Int = onDrawable, onStyle: StreamFixedSizeButtonStyle, offStyle: StreamFixedSizeButtonStyle = onStyle, enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, onClick: (ToggleableState) -> Unit = {})
Link copied to clipboard
fun StreamIconButton(modifier: Modifier = Modifier, icon: ImageVector, style: StreamFixedSizeButtonStyle, onClick: () -> Unit = {}, enabled: Boolean = true, showProgress: Boolean = false, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
Link copied to clipboard
fun StreamIconToggleButton(modifier: Modifier = Modifier, toggleState: State<ToggleableState> = rememberUpdatedState(newValue = ToggleableState(false)), onIcon: ImageVector, offIcon: ImageVector = onIcon, onStyle: StreamFixedSizeButtonStyle, showProgress: Boolean = false, offStyle: StreamFixedSizeButtonStyle = onStyle, enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, onClick: (ToggleableState) -> Unit = {})
Link copied to clipboard
fun StreamOutlinedTextField(modifier: Modifier = Modifier, value: TextFieldValue, onValueChange: (TextFieldValue) -> Unit, enabled: Boolean = true, readOnly: Boolean = false, style: TextFieldStyle, placeholder: @Composable () -> Unit? = null, isError: Boolean = false, visualTransformation: VisualTransformation = VisualTransformation.None, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions(), singleLine: Boolean = false, maxLines: Int = if (singleLine) 1 else Int.MAX_VALUE, minLines: Int = 1, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
Link copied to clipboard
fun StreamTextField(modifier: Modifier = Modifier, value: TextFieldValue, onValueChange: (TextFieldValue) -> Unit, enabled: Boolean = true, readOnly: Boolean = false, style: TextFieldStyle = VideoTheme.styles.textFieldStyles.defaultTextField(), placeholder: String? = null, error: Boolean = false, maxLines: Int = 1, minLines: Int = 1, icon: ImageVector? = null, visualTransformation: VisualTransformation = VisualTransformation.None, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions(), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
Link copied to clipboard
fun StreamToggleButton(modifier: Modifier = Modifier, toggleState: State<ToggleableState> = rememberUpdatedState(newValue = ToggleableState(false)), onText: String, offText: String, onIcon: ImageVector? = null, offIcon: ImageVector? = onIcon, onStyle: StreamButtonStyle, offStyle: StreamButtonStyle = onStyle, enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, onClick: (ToggleableState) -> Unit = {})