JengaLinkStyle

class JengaLinkStyle(val textStyle: TextStyle? = null, val underline: Boolean? = null, val contentPadding: PaddingValues? = null, val colors: JengaLinkColors? = null)(source)

Theme-wide style for every JengaLink, set through io.github.joelkanyi.jenga.theme.JengaComponentStyles.link. A null value keeps Jenga's default; arguments passed to a call still win.

Constructors

Link copied to clipboard
constructor(textStyle: TextStyle? = null, underline: Boolean? = null, contentPadding: PaddingValues? = null, colors: JengaLinkColors? = null)

Properties

Link copied to clipboard

the link colors.

Link copied to clipboard

padding around the link.

Link copied to clipboard

the link text style.

Link copied to clipboard

whether the label is underlined.

Functions

Link copied to clipboard
fun copy(textStyle: TextStyle? = this.textStyle, underline: Boolean? = this.underline, contentPadding: PaddingValues? = this.contentPadding, colors: JengaLinkColors? = this.colors): JengaLinkStyle