min window size (disabled)

This commit is contained in:
Морозов Андрей 2021-11-11 10:34:50 +00:00
parent 6fc7bbb2e5
commit 1f180172ec
1 changed files with 6 additions and 0 deletions

View File

@ -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(),