Package-level declarations
Types
Functions
Link copied to clipboard
fun AppButton(modifier: Modifier = Modifier, text: String? = null, onClick: () -> Unit, type: ButtonType = ButtonType.PRIMARY, imageSource: AppImageSource? = null, iconTint: Color? = null, enabled: Boolean = true, backgroundColor: Color? = null, testTag: String? = null)
fun AppButton(text: StringResource, onClick: () -> Unit, modifier: Modifier = Modifier, type: ButtonType = ButtonType.PRIMARY, imageSource: AppImageSource? = null, iconTint: Color? = null, enabled: Boolean = true, backgroundColor: Color? = null, testTag: String? = null)
A custom button component that supports different styles (Primary, Secondary, Tertiary) and an optional leading image.
Link copied to clipboard
Link copied to clipboard
fun AppSelection(modifier: Modifier = Modifier, expanded: Boolean, selectedOption: AppSelectionOption, options: List<AppSelectionOption>, onExpandedChange: (Boolean) -> Unit, onOptionSelected: (AppSelectionOption) -> Unit)
A customizable selection component using an exposed dropdown menu.
Link copied to clipboard
Link copied to clipboard
fun AppSelectionSimple(modifier: Modifier = Modifier, list: List<String>, onSelectionChanged: (AppSelectionOption) -> Unit, color: Color = MaterialTheme.colorScheme.onBackground)
A simplified selection component that takes a list of strings and manages its own state.
Link copied to clipboard