ImageWidget constructor
const
ImageWidget({
- Key? key,
- required String imgUrl,
- required BoxConstraints constraints,
- required Color color,
- required bool isMe,
- required Widget message,
- required Widget ack,
- required String time,
- required Color timeLabelColor,
- required bool showLoadingOverlay,
- required double percentage,
- required VoidCallback onTap,
- TextStyle? textStyle,
- BoxConstraints? imageStyles,
- required Widget? messageReply,
- Color? messageReplyBgColor,
- Color? messageReplyBorderColor,
- 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});