mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Add Min window size (#1048)
This commit is contained in:
@@ -16,6 +16,7 @@ void main() {
|
|||||||
if (!kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) {
|
if (!kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS)) {
|
||||||
WidgetsFlutterBinding.ensureInitialized();
|
WidgetsFlutterBinding.ensureInitialized();
|
||||||
setWindowTitle('Simplistic Calculator');
|
setWindowTitle('Simplistic Calculator');
|
||||||
|
setWindowMinSize(const Size(600, 500));
|
||||||
}
|
}
|
||||||
|
|
||||||
runApp(
|
runApp(
|
||||||
|
|||||||
Reference in New Issue
Block a user