setPosition method
Moves window to position.
Supported Platforms:
- Windows
- macOS
- Linux (X11 only)
Implementation
Future<void> setPosition(Offset position, {bool animate = false}) async {
await setBounds(
null,
position: position,
animate: animate,
);
}