Jet Lime Defaults
object JetLimeDefaults
Provides default values and utility functions for JetLimeColumn or JetLimeRow styling.
This object contains default values and composable functions that create different types of brushes and a default JetLimeStyle. It acts as a utility provider for the JetLimeColumn or JetLimeRow component styling, allowing for consistent default styling across the application.
Functions
Link copied to clipboard
fun columnStyle(contentDistance: Dp = ContentDistance, itemSpacing: Dp = ItemSpacing, lineThickness: Dp = LineThickness, lineBrush: Brush = lineSolidBrush(), pathEffect: PathEffect? = null, lineVerticalAlignment: VerticalAlignment = LEFT): JetLimeStyle
Creates a column style configuration for JetLimeColumn.
Link copied to clipboard
fun lineGradientBrush(colors: ImmutableList<Color> = persistentListOf(
MaterialTheme.colorScheme.primary,
MaterialTheme.colorScheme.secondary,
MaterialTheme.colorScheme.tertiary,
), start: Offset = Offset.Zero, end: Offset = Offset.Infinite, tileMode: TileMode = TileMode.Clamp): Brush
Creates a linear gradient brush for lines in JetLimeColumn or JetLimeRow components.
Link copied to clipboard
Creates a solid color brush for lines in JetLimeColumn or JetLimeRow components.
Link copied to clipboard
fun rowStyle(contentDistance: Dp = ContentDistance, itemSpacing: Dp = ItemSpacing, lineThickness: Dp = LineThickness, lineBrush: Brush = lineSolidBrush(), pathEffect: PathEffect? = null, lineHorizontalAlignment: HorizontalAlignment = TOP): JetLimeStyle
Creates a row style configuration for JetLimeRow.