ChatPageStyle constructor
const
ChatPageStyle({
- 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))),
- ChatUserAppBarStyle chatUserAppBarStyle = const ChatUserAppBarStyle(),
- EditTextFieldStyle searchTextFieldStyle = const EditTextFieldStyle(),
- MessageTypingAreaStyle messageTypingAreaStyle = const MessageTypingAreaStyle(),
- NotificationMessageViewStyle notificationMessageViewStyle = const NotificationMessageViewStyle(),
- Color chatSelectionBgColor = Colors.black12,
- SenderChatBubbleStyle senderChatBubbleStyle = const SenderChatBubbleStyle(),
- ReceiverChatBubbleStyle receiverChatBubbleStyle = const ReceiverChatBubbleStyle(),
- AttachmentViewStyle attachmentViewStyle = const AttachmentViewStyle(),
- 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)),
- InstantScheduleMeetStyle instantScheduleMeetStyle = const InstantScheduleMeetStyle(),
- 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});