ChatMessageGeneralFrameworkWidget constructor
const
ChatMessageGeneralFrameworkWidget({
- Key? key,
- required bool isLoading,
- EdgeInsetsGeometry? profilePictureMargin,
- BorderRadiusGeometry? profilePictureBorderRadius,
- void profilePictureOnLongPress()?,
- bool profilePictureIsUseShadow = false,
- bool profilePictureIsWithBorder = false,
- dynamic profilePicture,
- void profilePictureOnTap()?,
- WidgetBuilder? profilePictureBuilder,
- required String title,
- required String? message,
- required num unreadCount,
- required DateTime date,
- EdgeInsetsGeometry? contentPadding,
- BorderRadiusGeometry? unreadCountBorderRadius,
- Color? unreadCountColor,
- WidgetBuilder? titleBuilder,
- WidgetBuilder? messageBuilder,
- WidgetBuilder? dateBuilder,
- WidgetBuilder? unreadCountBuilder,
- double spaceTrailing = 5,
- void onLongPress()?,
- void onTap()?,
- void onFocusChange(
- bool value
- String? locale,
UncompleteDocumentation
Implementation
const ChatMessageGeneralFrameworkWidget({
super.key,
required this.isLoading,
this.profilePictureMargin,
this.profilePictureBorderRadius,
this.profilePictureOnLongPress,
this.profilePictureIsUseShadow = false,
this.profilePictureIsWithBorder = false,
this.profilePicture,
this.profilePictureOnTap,
this.profilePictureBuilder,
required this.title,
required this.message,
required this.unreadCount,
required this.date,
this.contentPadding,
this.unreadCountBorderRadius,
this.unreadCountColor,
this.titleBuilder,
this.messageBuilder,
this.dateBuilder,
this.unreadCountBuilder,
this.spaceTrailing = 5,
this.onLongPress,
this.onTap,
this.onFocusChange,
this.locale,
});