MChatImageBubble constructor
const
MChatImageBubble({
- Key? key,
- required String id,
- required Widget image,
- double? bubbleRadius,
- Gradient? gradient,
- EdgeInsets? margin = EdgeInsets.zero,
- EdgeInsets? padding = const EdgeInsets.fromLTRB(16, 8, 16, 8),
- Widget? leading,
- Widget? trailing,
- bool isSender = true,
- Color? color,
- bool tail = true,
- bool sent = false,
- bool delivered = false,
- bool seen = false,
- VoidCallback? onTap,
- VoidCallback? onLongPress,
Implementation
const MChatImageBubble({
Key? key,
required this.id,
required this.image,
this.bubbleRadius,
this.gradient,
this.margin = EdgeInsets.zero,
this.padding = const EdgeInsets.fromLTRB(16, 8, 16, 8),
this.leading,
this.trailing,
this.isSender = true,
this.color,
this.tail = true,
this.sent = false,
this.delivered = false,
this.seen = false,
this.onTap,
this.onLongPress,
}) : super(key: key);