setSize method

Future<void> setSize(
  1. Size size, {
  2. bool animate = false,
})

Resizes the window to width and height.

Implementation

Future<void> setSize(Size size, {bool animate = false}) async {
  _target?.setSize(size.toNative(), animate);
}