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