onResize property
A callback that provides adjusted window size.
Layouts with conditionals using a device's screen size should replace wrapperSize references with the provided size during testing
Implementation
final void Function(Size)? onResize;