flutter_desktop: fix canvas size in normal and fullscreen

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2022-10-04 21:19:31 +08:00
parent 589d366327
commit 126d92bf67
4 changed files with 26 additions and 13 deletions

View File

@@ -31,6 +31,7 @@ const kDefaultScrollDuration = Duration(milliseconds: 50);
const kDefaultMouseWheelThrottleDuration = Duration(milliseconds: 50);
const kFullScreenEdgeSize = 0.0;
var kWindowEdgeSize = Platform.isWindows ? 1.0 : 5.0;
const kWindowBorderWidth = 1.0;
const kInvalidValueStr = "InvalidValueStr";