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

32 lines
722 B
Dart
Raw Normal View History

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,
2022-03-11 15:40:56 +00:00
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Center(
child: Text(
message.getText(users)!,
style: TextStyle(
fontStyle: FontStyle.italic,
fontSize: 12,
),
),
);
}
}