More fixes and new version

This commit is contained in:
Christian Pauly
2020-01-03 11:57:00 +01:00
parent d838d3a474
commit 3a64d58d23
12 changed files with 31 additions and 20 deletions

View File

@ -12,11 +12,14 @@ class StateMessage extends StatelessWidget {
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.all(8.0),
child: Bubble(
color: Color(0xFFF8F8F8),
elevation: 0,
alignment: Alignment.center,
child: MessageContent(event),
child: Opacity(
opacity: 0.66,
child: Bubble(
color: Colors.black,
elevation: 0,
alignment: Alignment.center,
child: MessageContent(event, textColor: Colors.white),
),
),
);
}