2019-05-01 07:24:50 +00:00
|
|
|
import 'package:comunic/ui/screens/update_conversation_screen.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
/// Update a conversation route
|
|
|
|
///
|
|
|
|
/// @author Pierre HUBERT
|
|
|
|
|
|
|
|
class UpdateConversationRoute extends StatefulWidget {
|
|
|
|
final int conversationID;
|
|
|
|
|
|
|
|
const UpdateConversationRoute({Key key, this.conversationID})
|
|
|
|
: assert(conversationID != null),
|
|
|
|
super(key: key);
|
|
|
|
|
|
|
|
@override
|
|
|
|
State<StatefulWidget> createState() => _UpdateConversationRoute();
|
|
|
|
}
|
|
|
|
|
|
|
|
class _UpdateConversationRoute extends State<UpdateConversationRoute> {
|
|
|
|
@override
|
2021-03-13 09:32:11 +00:00
|
|
|
Widget build(BuildContext context) =>
|
|
|
|
UpdateConversationScreen(convID: widget.conversationID);
|
2019-05-01 07:24:50 +00:00
|
|
|
}
|