JengaFabStyle

class JengaFabStyle(val shape: Shape? = null, val size: Dp? = null, val extendedShape: Shape? = null, val extendedHeight: Dp? = null, val extendedContentPadding: PaddingValues? = null, val elevation: Dp? = null, val shadowColor: Color? = null, val textStyle: TextStyle? = null, val colors: JengaFabColors? = null)(source)

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

Constructors

Link copied to clipboard
constructor(shape: Shape? = null, size: Dp? = null, extendedShape: Shape? = null, extendedHeight: Dp? = null, extendedContentPadding: PaddingValues? = null, elevation: Dp? = null, shadowColor: Color? = null, textStyle: TextStyle? = null, colors: JengaFabColors? = null)

Properties

Link copied to clipboard

the color set.

Link copied to clipboard

the shadow elevation.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

the shadow color.

Link copied to clipboard
val shape: Shape?

the JengaFab shape.

Link copied to clipboard
val size: Dp?

the JengaFab edge length.

Link copied to clipboard

the JengaExtendedFab label text style.

Functions

Link copied to clipboard
fun copy(shape: Shape? = this.shape, size: Dp? = this.size, extendedShape: Shape? = this.extendedShape, extendedHeight: Dp? = this.extendedHeight, extendedContentPadding: PaddingValues? = this.extendedContentPadding, elevation: Dp? = this.elevation, shadowColor: Color? = this.shadowColor, textStyle: TextStyle? = this.textStyle, colors: JengaFabColors? = this.colors): JengaFabStyle