MessageTypingAreaStyle constructor

const MessageTypingAreaStyle({
  1. Decoration decoration = const BoxDecoration(border: Border.fromBorderSide(BorderSide(color: Color(0xffC1C1C1))), borderRadius: BorderRadius.all(Radius.circular(40)), color: Colors.white),
  2. EditTextFieldStyle textFieldStyle = const EditTextFieldStyle(editTextStyle: TextStyle(fontWeight: FontWeight.w600, color: Color(0xff181818), fontSize: 16), editTextHintStyle: TextStyle(fontWeight: FontWeight.w300, color: Color(0xff959595), fontSize: 12)),
  3. Color dividerColor = const Color(0xff000000),
  4. Color sentIconColor = const Color(0xff4879F9),
  5. IconStyle audioRecordIcon = const IconStyle(iconColor: Colors.white, bgColor: AppColor.primaryColor),
  6. Color rippleColor = const Color(0xff4879F9),
  7. Color attachmentIconColor = const Color(0xff363636),
  8. Color emojiIconColor = const Color(0xff363636),
  9. ReplyHeaderMessageViewStyle replyHeaderMessageViewStyle = const ReplyHeaderMessageViewStyle(decoration: BoxDecoration(borderRadius: BorderRadius.all(Radius.circular(10)), color: Color(0xffD0D8EB)), titleTextStyle: TextStyle(fontWeight: FontWeight.w600, color: Colors.black, fontSize: 11), contentTextStyle: TextStyle(fontWeight: FontWeight.normal, color: Colors.black, fontSize: 13), mediaIconStyle: IconStyle(bgColor: Color(0xff7285B5), iconColor: Colors.white), borderRadius: BorderRadius.only(topRight: Radius.circular(5), bottomRight: Radius.circular(5))),
  10. Color replyBgColor = const Color(0xffE2E8F7),
  11. AudioRecordingViewStyle audioRecordingViewStyle = const AudioRecordingViewStyle(durationTextStyle: TextStyle(fontWeight: FontWeight.normal, color: AppColor.primaryColor, fontSize: 12), cancelTextStyle: TextStyle(fontWeight: FontWeight.w300, color: Color(0xff363636), fontSize: 12)),
  12. Color bgColor = Colors.white,
})

Implementation

const MessageTypingAreaStyle(
    {this.decoration = const BoxDecoration(
      border: Border.fromBorderSide(BorderSide(
        color: Color(0xffC1C1C1),
      )),
      borderRadius: BorderRadius.all(Radius.circular(40)),
      color: Colors.white,
    ),
    this.textFieldStyle = const EditTextFieldStyle(
        editTextStyle: TextStyle(
            fontWeight: FontWeight.w600,
            color: Color(0xff181818),
            fontSize: 16),
        editTextHintStyle: TextStyle(
            fontWeight: FontWeight.w300,
            color: Color(0xff959595),
            fontSize: 12)),
    this.dividerColor = const Color(0xff000000),
    this.sentIconColor = const Color(0xff4879F9),
    this.audioRecordIcon = const IconStyle(
        iconColor: Colors.white, bgColor: AppColor.primaryColor),
    this.rippleColor = const Color(0xff4879F9),
    this.attachmentIconColor = const Color(0xff363636),
    this.emojiIconColor = const Color(0xff363636),
    this.replyHeaderMessageViewStyle = const ReplyHeaderMessageViewStyle(
        decoration: BoxDecoration(
          borderRadius: BorderRadius.all(Radius.circular(10)),
          color: Color(0xffD0D8EB),
        ),
        titleTextStyle: TextStyle(
            fontWeight: FontWeight.w600, color: Colors.black, fontSize: 11),
        contentTextStyle: TextStyle(
            fontWeight: FontWeight.normal, color: Colors.black, fontSize: 13),
        mediaIconStyle:
            IconStyle(bgColor: Color(0xff7285B5), iconColor: Colors.white),
        borderRadius: BorderRadius.only(
            topRight: Radius.circular(5), bottomRight: Radius.circular(5))),
    this.replyBgColor = const Color(0xffE2E8F7),
    this.audioRecordingViewStyle = const AudioRecordingViewStyle(
        durationTextStyle: TextStyle(
            fontWeight: FontWeight.normal,
            color: AppColor.primaryColor,
            fontSize: 12),
        cancelTextStyle: TextStyle(
            fontWeight: FontWeight.w300,
            color: Color(0xff363636),
            fontSize: 12)),
    this.bgColor = Colors.white});