didChangeMetrics method

  1. @override
  2. @mustCallSuper
void didChangeMetrics()
inherited

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

Implementation

@override
@mustCallSuper
void didChangeMetrics() {
  super.didChangeMetrics();
  //
  forEachState((state) {
    state.didChangeMetrics();
  }, reversed: true, remove: this);
}