From 1f180172ec89950e6d48c569ecfd239264ebd870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=BE=D1=80=D0=BE=D0=B7=D0=BE=D0=B2=20=D0=90=D0=BD?= =?UTF-8?q?=D0=B4=D1=80=D0=B5=D0=B9?= Date: Thu, 11 Nov 2021 10:34:50 +0000 Subject: [PATCH] min window size (disabled) --- flutter/lib/main.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flutter/lib/main.dart b/flutter/lib/main.dart index 944f1a2..39a1e66 100644 --- a/flutter/lib/main.dart +++ b/flutter/lib/main.dart @@ -1,15 +1,21 @@ import 'package:graphs/pages/drawing_page.dart'; +//import 'package:desktop_window/desktop_window.dart'; import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } +/*Future setupWindow() async { + await DesktopWindow.setMinWindowSize(const Size(850, 620)); +}*/ + class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); @override Widget build(BuildContext context) { + //setupWindow(); return const MaterialApp( title: "Graphs", home: DrawingPage(),