ImageWidget constructor

const ImageWidget({
  1. Key? key,
  2. required String imgUrl,
  3. required Widget? caption,
  4. required BoxConstraints constraints,
  5. required Color color,
  6. required bool isMe,
  7. required Widget message,
  8. required Widget ack,
  9. required String time,
  10. required Color timeLabelColor,
  11. required bool showLoadingOverlay,
  12. required double percentage,
  13. required VoidCallback onTap,
  14. TextStyle? textStyle,
  15. BoxConstraints? imageStyles,
  16. required Widget? messageReply,
  17. Color? messageReplyBgColor,
  18. Color? messageReplyBorderColor,
  19. Uint8List? imageBytes,
})

Implementation

const ImageWidget(
    {super.key,
    required this.imgUrl,
    required this.caption,
    required this.constraints,
    required this.color,
    required this.isMe,
    required this.message,
    required this.ack,
    required this.time,
    required this.timeLabelColor,
    required this.showLoadingOverlay,
    required this.percentage,
    required this.onTap,
    this.textStyle,
    this.imageStyles,
    required this.messageReply,
    this.messageReplyBgColor,
    this.messageReplyBorderColor,
    this.imageBytes});