TextMessageViewStyle constructor
const
TextMessageViewStyle({
- TextStyle textStyle = const TextStyle(fontWeight: FontWeight.normal, color: Colors.black, fontSize: 14),
- TextStyle timeTextStyle = const TextStyle(fontWeight: FontWeight.normal, color: Color(0xff455E93), fontSize: 11),
- Color highlightColor = Colors.orange,
- Color urlMessageColor = const Color(0xff4879F9),
- CallLinkViewStyle callLinkViewStyle = const CallLinkViewStyle(decoration: BoxDecoration(color: Color(0xffD0D8EB)), textStyle: TextStyle(fontWeight: FontWeight.normal, color: Colors.black, fontSize: 12), iconColor: Color(0xff97A5C7)),
Implementation
const TextMessageViewStyle({
this.textStyle = const TextStyle(
fontWeight: FontWeight.normal, color: Colors.black, fontSize: 14),
this.timeTextStyle = const TextStyle(
fontWeight: FontWeight.normal, color: Color(0xff455E93), fontSize: 11),
this.highlightColor =
Colors.orange, //while searching a message to highlight the text
this.urlMessageColor = const Color(0xff4879F9),
this.callLinkViewStyle = const CallLinkViewStyle(
decoration: BoxDecoration(
color: Color(0xffD0D8EB),
),
textStyle: TextStyle(
fontWeight: FontWeight.normal, color: Colors.black, fontSize: 12),
iconColor: Color(0xff97A5C7)),
});