Change router for different screen size

This commit is contained in:
problematicconsumer
2023-11-01 20:36:16 +03:30
parent d5dc2da60c
commit a21004761d
23 changed files with 446 additions and 366 deletions

View File

@@ -14,9 +14,10 @@ class WindowController extends _$WindowController
Future<bool> build() async {
await windowManager.ensureInitialized();
const size = Size(868, 668);
const minumumSize = Size(368, 568);
const windowOptions = WindowOptions(
size: size,
minimumSize: size,
minimumSize: minumumSize,
center: true,
);
await windowManager.setPreventClose(true);