buildInputFieldText method

List<AttributedText> buildInputFieldText({
  1. required BuildContext context,
  2. TextStyle? style,
  3. required bool withComposing,
  4. required String text,
  5. List<AttributedText>? existingAttributes,
  6. CometChatTheme? theme,
})

buildInputFieldText is a function which is used to style the text in the input field in the message composer

Implementation

List<AttributedText> buildInputFieldText(
    {required BuildContext context,
    TextStyle? style,
    required bool withComposing,
    required String text,
    List<AttributedText>? existingAttributes,
    CometChatTheme? theme}) {
  return existingAttributes ?? [];
}