ChatView2AppBar constructor

const ChatView2AppBar({
  1. Key? key,
  2. required String chatTitle,
  3. Color? backGroundColor,
  4. String? userStatus,
  5. String? profilePicture,
  6. TextStyle? chatTitleTextStyle,
  7. TextStyle? userStatusTextStyle,
  8. Color? backArrowColor,
  9. List<Widget>? actions,
  10. double? elevation,
  11. VoidCallBack? onBackPress,
  12. EdgeInsets? padding,
  13. Widget? leading,
  14. bool showLeading = true,
})

Implementation

const ChatView2AppBar({
  super.key,
  required this.chatTitle,
  this.backGroundColor,
  this.userStatus,
  this.profilePicture,
  this.chatTitleTextStyle,
  this.userStatusTextStyle,
  this.backArrowColor,
  this.actions,
  this.elevation,
  this.onBackPress,
  this.padding,
  this.leading,
  this.showLeading = true,
});