Text Box Property
constructor(size: DpSize, backgroundColor: Color, textStyle: TextStyle, selectionBackgroundColor: Color, padding: Dp, borderBoxPaint: Paint, borderBoxPadding: Dp)
Parameters
size
The size of the text box.
background Color
The background color of the text box.
text Style
The text style (font size, color, etc.) to be applied to the text inside the text box.
selection Background Color
The background color when the text is selected.
padding
The padding inside the text box, applied around the text.
border Box Paint
Paint object used to draw a border around the text box.
border Box Padding
Padding for the border box around the text box when focused.