ChatImageMessage constructor
const
ChatImageMessage({
- Key? key,
- required ImageMessage message,
- required int index,
- ImageProvider<
Object> ? customImageProvider, - Map<
String, String> ? headers, - BorderRadiusGeometry? borderRadius,
- BoxConstraints? constraints = const BoxConstraints(maxHeight: 300),
- Widget? overlay,
- Color? placeholderColor,
- Color? loadingOverlayColor,
- Color? loadingIndicatorColor,
- Color? uploadOverlayColor,
- Color? uploadIndicatorColor,
- TextStyle? timeStyle,
- Color? timeBackground,
- bool showTime = true,
- bool showStatus = true,
- TimeAndStatusPosition timeAndStatusPosition = TimeAndStatusPosition.end,
- Decoration? decoration,
Creates a widget to display an image message.
Implementation
const ChatImageMessage({
super.key,
required this.message,
required this.index,
this.customImageProvider,
this.headers,
this.borderRadius,
this.constraints = const BoxConstraints(maxHeight: 300),
this.overlay,
this.placeholderColor,
this.loadingOverlayColor,
this.loadingIndicatorColor,
this.uploadOverlayColor,
this.uploadIndicatorColor,
this.timeStyle,
this.timeBackground,
this.showTime = true,
this.showStatus = true,
this.timeAndStatusPosition = TimeAndStatusPosition.end,
this.decoration,
});