ImageMessage constructor

const ImageMessage({
  1. Key? key,
  2. Map<String, String>? imageHeaders,
  3. ImageProvider<Object> imageProviderBuilder({
    1. required Conditional conditional,
    2. required Map<String, String>? imageHeaders,
    3. required String uri,
    })?,
  4. required ImageMessage message,
  5. required int messageWidth,
})

Creates an image message widget based on types.ImageMessage.

Implementation

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