mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-29 16:26:27 +00:00
27 lines
723 B
Dart
27 lines
723 B
Dart
import 'package:comunic/ui/widgets/tablet_mode/conversations/open_conversation_button_widget.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
/// Conversations area widget
|
|
///
|
|
/// This widget allow floating conversations in tablet mode
|
|
///
|
|
/// @author Pierre
|
|
|
|
class ConversationsAreaWidget extends StatefulWidget {
|
|
@override
|
|
_ConversationsAreaWidgetState createState() =>
|
|
_ConversationsAreaWidgetState();
|
|
}
|
|
|
|
class _ConversationsAreaWidgetState extends State<ConversationsAreaWidget> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Row(
|
|
children: <Widget>[_buildOpenButton()],
|
|
);
|
|
}
|
|
|
|
/// Add a button to open new conversations
|
|
Widget _buildOpenButton() => OpenConversationButton();
|
|
}
|