min window size (disabled)
This commit is contained in:
parent
6fc7bbb2e5
commit
1f180172ec
|
@ -1,15 +1,21 @@
|
||||||
import 'package:graphs/pages/drawing_page.dart';
|
import 'package:graphs/pages/drawing_page.dart';
|
||||||
|
//import 'package:desktop_window/desktop_window.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
runApp(const MyApp());
|
runApp(const MyApp());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*Future setupWindow() async {
|
||||||
|
await DesktopWindow.setMinWindowSize(const Size(850, 620));
|
||||||
|
}*/
|
||||||
|
|
||||||
class MyApp extends StatelessWidget {
|
class MyApp extends StatelessWidget {
|
||||||
const MyApp({Key? key}) : super(key: key);
|
const MyApp({Key? key}) : super(key: key);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
//setupWindow();
|
||||||
return const MaterialApp(
|
return const MaterialApp(
|
||||||
title: "Graphs",
|
title: "Graphs",
|
||||||
home: DrawingPage(),
|
home: DrawingPage(),
|
||||||
|
|
Loading…
Reference in New Issue