outgoingPrimaryHeaderTextStyle property
Text style for the primary header of outgoing messages.
Widget build(BuildContext context) {
return Scaffold(
body: SfChatTheme(
data: SfChatThemeData(
outgoingPrimaryHeaderTextStyle: TextStyle(
fontSize: 12.0,
fontWeight: FontWeight.bold,
color: Colors.white,
),
),
child: SfChat(),
),
);
}
Implementation
final TextStyle? outgoingPrimaryHeaderTextStyle;