Package-level declarations
Functions
Link copied to clipboard
fun CardWithIcon(icon: ImageVector?, title: String, content: @Composable ColumnScope.() -> Unit, modifier: Modifier = Modifier, contentDescription: String = title, colors: CardColors = CardDefaults.cardColors())
Link copied to clipboard
fun CardWithIconAndMarkdown(icon: ImageVector?, title: String, text: String, modifier: Modifier = Modifier, contentDescription: String = title, colors: CardColors = CardDefaults.cardColors())
Link copied to clipboard
fun CardWithIconAndText(icon: ImageVector?, title: String, text: AnnotatedString, modifier: Modifier = Modifier, contentDescription: String = title, colors: CardColors = CardDefaults.cardColors())
Link copied to clipboard
Link copied to clipboard
fun IconButtonWithText(onClick: () -> Unit, icon: ImageVector, text: String, contentDescription: String = text, color: Color = MaterialTheme.colorScheme.onBackground)
Link copied to clipboard
An indicator to show the user when the app is loading content. Automatically shows and hides depending on isLoading with an animation.
Link copied to clipboard
fun LoadingWindow(padding: PaddingValues, mainActivity: Class<*>, progressMessage: String, shouldShowErrorMessage: Boolean, errorMessage: String? = null, errorCode: Int? = null, showLaunchButton: Boolean = false)
Link copied to clipboard
Link copied to clipboard
fun ZoomableImage(imageModel: Any?, contentDescription: String, modifier: Modifier = Modifier, contentScale: ContentScale = ContentScale.Fit, minScale: Float = 0.5f, maxScale: Float = 3.0f, isRotation: Boolean = false, isZoomable: Boolean = true, @DrawableRes placeholderDrawable: Int = R.drawable.ic_tall_placeholder, @DrawableRes errorDrawable: Int = placeholderDrawable, @IntRange(from = 0, to = 100) encodeQuality: Int = 85, @FloatRange(from = 0.0, to = 1.0) sizeMultiplier: Float = 1.0f, onSwipeRight: () -> Unit? = null, onSwipeLeft: () -> Unit? = null)
Creates an Image composable that can be zoomed in and out.