ImageMessage constructor

const ImageMessage({
  1. dynamic key,
  2. Map<String, String>? imageHeaders,
  3. required ImageMessage message,
  4. required int messageWidth,
})

Creates an image message widget based on types.ImageMessage.

Implementation

const ImageMessage({
  key,
  this.imageHeaders,
  required this.message,
  required this.messageWidth,
}): super(key: key);