FFChatPage constructor
FFChatPage({
- bool? allowImages,
- FFColor? backgroundColor,
- FFChatPage_TimeDisplaySetting? timeDisplaySetting,
- FFBoxDecoration? currentUserBoxDecoration,
- FFBoxDecoration? otherUsersBoxDecoration,
- FFText? currentUserTextStyle,
- FFText? otherUsersTextStyle,
- FFText? inputHintTextStyle,
- FFText? inputTextStyle,
- FFColor? unreadColor,
- bool? sendNotifications,
- bool? notificationsHaveSound,
- int? maxLoadedMessages,
Implementation
factory FFChatPage({
$core.bool? allowImages,
FFColor? backgroundColor,
FFChatPage_TimeDisplaySetting? timeDisplaySetting,
FFBoxDecoration? currentUserBoxDecoration,
FFBoxDecoration? otherUsersBoxDecoration,
FFText? currentUserTextStyle,
FFText? otherUsersTextStyle,
FFText? inputHintTextStyle,
FFText? inputTextStyle,
FFColor? unreadColor,
$core.bool? sendNotifications,
$core.bool? notificationsHaveSound,
$core.int? maxLoadedMessages,
}) {
final result = create();
if (allowImages != null) result.allowImages = allowImages;
if (backgroundColor != null) result.backgroundColor = backgroundColor;
if (timeDisplaySetting != null)
result.timeDisplaySetting = timeDisplaySetting;
if (currentUserBoxDecoration != null)
result.currentUserBoxDecoration = currentUserBoxDecoration;
if (otherUsersBoxDecoration != null)
result.otherUsersBoxDecoration = otherUsersBoxDecoration;
if (currentUserTextStyle != null)
result.currentUserTextStyle = currentUserTextStyle;
if (otherUsersTextStyle != null)
result.otherUsersTextStyle = otherUsersTextStyle;
if (inputHintTextStyle != null)
result.inputHintTextStyle = inputHintTextStyle;
if (inputTextStyle != null) result.inputTextStyle = inputTextStyle;
if (unreadColor != null) result.unreadColor = unreadColor;
if (sendNotifications != null) result.sendNotifications = sendNotifications;
if (notificationsHaveSound != null)
result.notificationsHaveSound = notificationsHaveSound;
if (maxLoadedMessages != null) result.maxLoadedMessages = maxLoadedMessages;
return result;
}