didChangeMetrics method

void didChangeMetrics()

Called when the application's dimensions change. For example, when a phone is rotated.

This method exposes notifications from Window.onMetricsChanged.

In general, this is unnecessary as the layout system takes care of automatically recomputing the application geometry when the application size changes.

Implementation

void didChangeMetrics() {}