From 921a29935ecfd17c16bbda76182712af685fa33d Mon Sep 17 00:00:00 2001 From: Yannick Mauray Date: Thu, 27 Jun 2024 20:35:52 +0200 Subject: [PATCH] feat: set window size --- lib/main.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/main.dart b/lib/main.dart index b086778..131447a 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -74,6 +74,7 @@ Future getIcons() async { void main() async { WidgetsFlutterBinding.ensureInitialized(); // Don't forget to also change the size in linux/my_application.cc:50 + // Don't forget to also change the size in macos/Runner/MainFlutterWindow.swift:7 if (Platform.isMacOS) { setWindowMinSize(const Size(692 + 2, 580 + 30)); setWindowMaxSize(const Size(692 + 2, 580 + 30));