TextMessageViewStyle constructor

const TextMessageViewStyle({
  1. TextStyle textStyle = const TextStyle(fontWeight: FontWeight.normal, color: Colors.black, fontSize: 14),
  2. TextStyle timeTextStyle = const TextStyle(fontWeight: FontWeight.normal, color: Color(0xff455E93), fontSize: 11),
  3. Color highlightColor = Colors.orange,
  4. Color urlMessageColor = const Color(0xff4879F9),
  5. 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)),
});