ChatPageStyle constructor

const ChatPageStyle({
  1. AppBarTheme appBarTheme = const AppBarTheme(backgroundColor: Colors.white, shadowColor: Colors.white, surfaceTintColor: Colors.white, titleTextStyle: TextStyle(fontWeight: FontWeight.bold, color: Color(0xff181818), fontSize: 20), elevation: 0, actionsIconTheme: IconThemeData(color: Color(0xff181818))),
  2. ChatUserAppBarStyle chatUserAppBarStyle = const ChatUserAppBarStyle(),
  3. EditTextFieldStyle searchTextFieldStyle = const EditTextFieldStyle(),
  4. MessageTypingAreaStyle messageTypingAreaStyle = const MessageTypingAreaStyle(),
  5. NotificationMessageViewStyle notificationMessageViewStyle = const NotificationMessageViewStyle(),
  6. Color chatSelectionBgColor = Colors.black12,
  7. SenderChatBubbleStyle senderChatBubbleStyle = const SenderChatBubbleStyle(),
  8. ReceiverChatBubbleStyle receiverChatBubbleStyle = const ReceiverChatBubbleStyle(),
  9. AttachmentViewStyle attachmentViewStyle = const AttachmentViewStyle(),
  10. PopupMenuThemeData popupMenuThemeData = const PopupMenuThemeData(color: Colors.white, surfaceTintColor: Colors.white, shadowColor: Colors.white, textStyle: TextStyle(fontWeight: FontWeight.w600, color: Color(0xff181818), fontSize: 15), shape: RoundedRectangleBorder(side: BorderSide(color: Color(0xffE8E8E8), width: 1)), iconColor: Color(0xff181818)),
  11. InstantScheduleMeetStyle instantScheduleMeetStyle = const InstantScheduleMeetStyle(),
  12. Decoration? chatPageBackgroundDecoration,
})

Implementation

const ChatPageStyle(
    {this.appBarTheme = const AppBarTheme(
        backgroundColor: Colors.white,
        shadowColor: Colors.white,
        surfaceTintColor: Colors.white,
        titleTextStyle: TextStyle(
            fontWeight: FontWeight.bold,
            color: Color(0xff181818),
            fontSize: 20),
        elevation: 0,
        actionsIconTheme: IconThemeData(color: Color(0xff181818))),
    this.chatUserAppBarStyle = const ChatUserAppBarStyle(),
    this.searchTextFieldStyle = const EditTextFieldStyle(),
    this.messageTypingAreaStyle = const MessageTypingAreaStyle(),
    this.notificationMessageViewStyle = const NotificationMessageViewStyle(),
    this.chatSelectionBgColor = Colors.black12,
    this.senderChatBubbleStyle = const SenderChatBubbleStyle(),
    this.receiverChatBubbleStyle = const ReceiverChatBubbleStyle(),
    this.attachmentViewStyle = const AttachmentViewStyle(),
    this.popupMenuThemeData = const PopupMenuThemeData(
        color: Colors.white,
        surfaceTintColor: Colors.white,
        shadowColor: Colors.white,
        textStyle: TextStyle(
            fontWeight: FontWeight.w600,
            color: Color(0xff181818),
            fontSize: 15),
        shape: RoundedRectangleBorder(
            side: BorderSide(color: Color(0xffE8E8E8), width: 1)),
        iconColor: Color(0xff181818)),
    this.instantScheduleMeetStyle = const InstantScheduleMeetStyle(),
    this.chatPageBackgroundDecoration});