Jenga Text Field Style
class JengaTextFieldStyle(val shape: Shape? = null, val minHeight: Dp? = null, val contentPadding: PaddingValues? = null, val multilineMinHeight: Dp? = null, val multilineContentPadding: PaddingValues? = null, val focusRingWidth: Dp? = null, val textStyle: TextStyle? = null, val colors: JengaTextFieldColors? = null)(source)
Theme-wide style for every JengaTextField, set through io.github.joelkanyi.jenga.theme.JengaComponentStyles.textField. A null value keeps Jenga's default; arguments passed to a JengaTextField call still win.
Constructors
Link copied to clipboard
constructor(shape: Shape? = null, minHeight: Dp? = null, contentPadding: PaddingValues? = null, multilineMinHeight: Dp? = null, multilineContentPadding: PaddingValues? = null, focusRingWidth: Dp? = null, textStyle: TextStyle? = null, colors: JengaTextFieldColors? = null)
Properties
Link copied to clipboard
the color set.
Link copied to clipboard
padding inside a single-line input box.
Link copied to clipboard
width of the soft focus halo; 0.dp removes it.
Link copied to clipboard
padding when singleLine is false; falls back to contentPadding.
Link copied to clipboard
the minimum height when singleLine is false; falls back to minHeight.
Functions
Link copied to clipboard
fun copy(shape: Shape? = this.shape, minHeight: Dp? = this.minHeight, contentPadding: PaddingValues? = this.contentPadding, multilineMinHeight: Dp? = this.multilineMinHeight, multilineContentPadding: PaddingValues? = this.multilineContentPadding, focusRingWidth: Dp? = this.focusRingWidth, textStyle: TextStyle? = this.textStyle, colors: JengaTextFieldColors? = this.colors): JengaTextFieldStyle