lineGradientBrush

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.

Return

A Brush object representing a linear gradient.

Parameters

colors

The colors to be used in the gradient. Defaults to primary, secondary, and tertiary colors from MaterialTheme's color scheme.

start

The start offset for the gradient.

end

The end offset for the gradient.

tileMode

The tile mode for the gradient.