resetViewPadding method

void resetViewPadding()

Resets viewPadding to the default value for this view.

Implementation

void resetViewPadding() {
  _viewPadding = null;
  platformDispatcher.onMetricsChanged?.call();
}