textStyle property

TextStyle? textStyle
final

Customizes the style of the text input field.

Defaults to null.

Example:


@override
Widget build(BuildContext context) {
  return SfChat(
    composer: ChatComposer(
      textStyle: TextStyle(fontSize: 16.0, color: Colors.black),
    )
  );
}

Implementation

final TextStyle? textStyle;