applyNewDimensions method

  1. @protected
  2. @mustCallSuper
void applyNewDimensions()

Notifies the activity that the dimensions of the underlying viewport or contents have changed.

Called after applyViewportDimension or applyContentDimensions have changed the minScrollExtent, the maxScrollExtent, or the viewportDimension. When this method is called, it should be called after any corrections are applied to pixels using correctPixels, not before.

The default implementation informs the activity of the new dimensions by calling its ScrollActivity.applyNewDimensions method.

See also:


void applyNewDimensions() {
  _updateSemanticActions(); // will potentially request a semantics update.