1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-24 22:09:21 +00:00
comunicmobile/lib/ui/tiles/server_conversation_message_tile.dart
2022-03-11 16:40:56 +01:00

32 lines
722 B
Dart

import 'package:comunic/lists/users_list.dart';
import 'package:comunic/models/conversation_message.dart';
import 'package:flutter/material.dart';
/// Server conversation message list
///
/// @author Pierre hubert
class ServerConversationMessageTile extends StatelessWidget {
final ConversationServerMessage message;
final UsersList users;
const ServerConversationMessageTile({
Key? key,
required this.message,
required this.users,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Center(
child: Text(
message.getText(users)!,
style: TextStyle(
fontStyle: FontStyle.italic,
fontSize: 12,
),
),
);
}
}