TextBoxProperty

constructor(size: DpSize, backgroundColor: Color, textStyle: TextStyle, selectionBackgroundColor: Color, padding: Dp, borderBoxPaint: Paint, borderBoxPadding: Dp)

Parameters

size

The size of the text box.

backgroundColor

The background color of the text box.

textStyle

The text style (font size, color, etc.) to be applied to the text inside the text box.

selectionBackgroundColor

The background color when the text is selected.

padding

The padding inside the text box, applied around the text.

borderBoxPaint

Paint object used to draw a border around the text box.

borderBoxPadding

Padding for the border box around the text box when focused.