Graphs_dart/tex/lib/main.dart

25 lines
526 B
Dart
Raw Permalink Normal View History

2021-11-23 02:10:14 +03:00
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, 700));
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
setupWindow();
return const MaterialApp(
title: "Graphs",
home: DrawingPage(),
);
}
}