LMChatBubbleClipper
File location
chat_bubble_clipper.dart
LMChatBubbleClipper is a custom clipper that shapes chat bubbles, differentiating between sent and received messages with customizable "nip" elements.
Properties
isSent(bool)
Indicates if the bubble is for a sent message.radius(double)
Radius for rounding the bubble corners (default: 10).nipHeight(double)
Height of the bubble's nip (default: 10).
Note: These properties are only a subset. More can be found inside the widget class. You can refer to the relevant widget class for more reference.
Example Usage
final clipper = LMChatBubbleClipper(
isSent: true,
radius: 12.0,
nipHeight: 8.0,
nipWidth: 12.0,
nipRadius: 4.0,
);