1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

Add Min window size (#1048)

This commit is contained in:
Miguel Beltran
2022-03-08 02:08:02 +01:00
committed by GitHub
parent c452c1fcce
commit 07e99272f3

View File

@@ -16,6 +16,7 @@ void main() {
if (!kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) {
WidgetsFlutterBinding.ensureInitialized();
setWindowTitle('Simplistic Calculator');
setWindowMinSize(const Size(600, 500));
}
runApp(