Remove message bubbles

This commit is contained in:
Christian Pauly
2020-09-19 16:21:57 +02:00
parent 8547422f80
commit 7b1262f355
5 changed files with 31 additions and 46 deletions

View File

@ -1,4 +1,3 @@
import 'package:bubble/bubble.dart';
import 'package:famedlysdk/famedlysdk.dart';
import 'package:fluffychat/utils/app_route.dart';
import 'package:fluffychat/views/image_view.dart';
@ -71,11 +70,8 @@ class _ImageBubbleState extends State<ImageBubble> {
@override
Widget build(BuildContext context) {
return Bubble(
padding: BubbleEdges.all(0),
radius: Radius.circular(widget.radius),
color: widget.backgroundColor ?? Theme.of(context).secondaryHeaderColor,
elevation: 0,
return ClipRRect(
borderRadius: BorderRadius.circular(widget.radius),
child: Container(
height: widget.maxSize ? 300 : null,
width: widget.maxSize ? 400 : null,