chat_bubble 0.1.1+1 chat_bubble: ^0.1.1+1 copied to clipboard
A chat bubble widget, similar to WeChat, You can customize the orientation and the size of the rounded corners, as well as the rounded corners and position of the triangle..
chat_bubble #
A new Flutter package project.
Usage #
import 'package:chat_bubble/chat_bubble.dart';
ChatBubble(
shadows: <Shadow>[
Shadow(
color: Colors.grey,
offset: Offset(-1.0, -1.0),
blurRadius: 0.1,
),
Shadow(
color: Colors.grey,
offset: Offset(1.0, 1.0),
blurRadius: 0.4,
)
],
direction: reverse ? ChatBubbleNipDirection.RIGHT: ChatBubbleNipDirection.LEFT,
child: Container(
color: Colors.grey,
child: img,
),
)