VoidCallback onMetricsChanged
read / write

A callback that is invoked whenever the devicePixelRatio, physicalSize, or padding values change.