setPosition method

Future<void> setPosition(
  1. Offset position, {
  2. bool animate = false,
})

Moves window to position.

Implementation

Future<void> setPosition(Offset position, {bool animate = false}) async {
  await setBounds(
    null,
    position: position,
    animate: animate,
  );
}