resetViewInsets method

void resetViewInsets()

Resets viewInsets to the default value for this view.

Implementation

void resetViewInsets() {
  _viewInsets = null;
  platformDispatcher.onMetricsChanged?.call();
}