update flutter desktop, chat page (in remote page) style

This commit is contained in:
csf
2022-09-13 09:29:19 +08:00
parent f6055130e4
commit 062a9d2635
2 changed files with 89 additions and 44 deletions

View File

@@ -128,7 +128,10 @@ class ChatModel with ChangeNotifier {
if (overlayState == null) return;
final overlay = OverlayEntry(builder: (context) {
return DraggableChatWindow(
position: Offset(20, 80), width: 250, height: 350, chatModel: this);
position: const Offset(20, 80),
width: 250,
height: 350,
chatModel: this);
});
overlayState.insert(overlay);
chatWindowOverlayEntry = overlay;