add chatbox border

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages 2023-07-09 10:35:10 +08:00
parent 84d7115e36
commit 89b3e68788

View File

@ -32,7 +32,7 @@ class DraggableChatWindow extends StatelessWidget {
width: width, width: width,
height: height, height: height,
builder: (context, onPanUpdate) { builder: (context, onPanUpdate) {
return isIOS final child = isIOS
? ChatPage(chatModel: chatModel) ? ChatPage(chatModel: chatModel)
: Scaffold( : Scaffold(
resizeToAvoidBottomInset: false, resizeToAvoidBottomInset: false,
@ -44,6 +44,10 @@ class DraggableChatWindow extends StatelessWidget {
), ),
body: ChatPage(chatModel: chatModel), body: ChatPage(chatModel: chatModel),
); );
return Container(
decoration:
BoxDecoration(border: Border.all(color: MyTheme.border)),
child: child);
}); });
} }