24
This commit is contained in:
@@ -5,13 +5,14 @@ import 'package:flutter/material.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import 'package:window_manager/window_manager.dart';
|
||||
|
||||
import 'navigation/app_navigation.dart';
|
||||
import 'v12/app.dart';
|
||||
|
||||
void main() {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
setSize();
|
||||
GoRouter.optionURLReflectsImperativeAPIs = true;
|
||||
runApp(UnitApp());
|
||||
runApp(TolyBooksApp());
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +20,7 @@ void setSize() async{
|
||||
if(kIsWeb||Platform.isAndroid||Platform.isIOS) return;
|
||||
await windowManager.ensureInitialized();
|
||||
WindowOptions windowOptions = const WindowOptions(
|
||||
size: Size(800, 540),
|
||||
size: Size(1024, 1024*3/4),
|
||||
minimumSize: Size(600, 400),
|
||||
center: true,
|
||||
backgroundColor: Colors.transparent,
|
||||
|
||||
Reference in New Issue
Block a user