ChatDetailScreen constructor 
    
      const
      ChatDetailScreen({ - required ChatOptions options, 
 
- required Future<void> onMessageSubmit(
 - String text
 
),  
- required Future<void> onUploadImage(
 - Uint8List image
 
),  
- required Future<void> onReadChat(
 - ChatModel chat
 
),  
- required ChatService service, 
 
- required int pageSize, 
 
- required String chatId, 
 
- required double textfieldBottomPadding, 
 
- required dynamic onPressChatTitle(
 - BuildContext context, 
 
- ChatModel chat
 
),  
- required dynamic onPressUserProfile(
 - String? userId
 
),  
- Widget chatTitleBuilder(
 - String chatTitle
 
)?,  
- Widget usernameBuilder(
 - String userFullName
 
)?,  
- Widget? loadingWidgetBuilder(
 - BuildContext context
 
)?,  
- ChatTranslations translations = const ChatTranslations(), 
 
- Color? iconColor, 
 
- Color? iconDisabledColor, 
 
- bool showTime = false, 
 
- Key? key, 
 
})
    
    
    
  Implementation
  const ChatDetailScreen({
  required this.options,
  required this.onMessageSubmit,
  required this.onUploadImage,
  required this.onReadChat,
  required this.service,
  required this.pageSize,
  required this.chatId,
  required this.textfieldBottomPadding,
  required this.onPressChatTitle,
  required this.onPressUserProfile,
  this.chatTitleBuilder,
  this.usernameBuilder,
  this.loadingWidgetBuilder,
  this.translations = const ChatTranslations(),
  this.iconColor,
  this.iconDisabledColor,
  this.showTime = false,
  super.key,
});