1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-26 23:09:21 +00:00
comunicmobile/lib/ui/tiles/conversation_message_tile.dart

23 lines
577 B
Dart
Raw Normal View History

2019-04-25 06:56:16 +00:00
import 'package:comunic/models/conversation_message.dart';
import 'package:comunic/models/user.dart';
import 'package:flutter/material.dart';
/// Conversation message tile
///
/// @author Pierre HUBERT
class ConversationMessageTile extends StatelessWidget {
final ConversationMessage message;
final User userInfo;
const ConversationMessageTile({Key key, this.message, this.userInfo})
: assert(message != null),
assert(userInfo != null),
super(key: key);
@override
Widget build(BuildContext context) {
return Text(message.message);
}
}