I am unable to find any way to do that when searching official documentation. Does anybody know any way to do that?
It is possible, as mentioned in https://github.com/flutter/flutter/issues/30712
In pubspec.yaml
add
dependencies:
window_size:
git:
url: git://github.com/google/flutter-desktop-embedding.git
path: plugins/window_size
ref: fd519be1e8398c6b6c2062c2447bac960a71bc02
Now in your code just call
import 'package:window_size/window_size.dart';
setWindowTitle("Custom window title");
Works fine on Linux. Haven't tested on Windows/Mac
Go to windows > runner > main.cpp folder, find a " !window.CreateAndShow(L"schedule_task", origin, size) " And change the "schedule_task" text
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With